Skip to content

Commit db162eb

Browse files
committed
More tweaks for the Woe32 port.
1 parent 6d4a94d commit db162eb

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

ChangeLog

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
* src/Makefile.msvc (IIPREFIX, IIprefix, IIexec_prefix, IIbindir,
66
IIincludedir): New variables.
77
(INCLUDES): Add -I..\windows.
8-
(iconv.exe): Define INSTALLPREFIX and INSTALLDIR.
8+
(iconv.exe): Define INSTALLPREFIX and INSTALLDIR. Link with
9+
../srclib/icrt.lib.
910
Patches by Perry Rapp.
1011

1112
2003-05-07 Bruno Haible <bruno@clisp.org>

README.woe32

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ Installation on Woe32 (WinNT/2000/XP, Win95/98/ME):
2424

2525
For shared library (DLL):
2626

27-
nmake -f Makefile.msvc DLL=1 MFLAGS=-MD
27+
nmake -f Makefile.msvc NO_NLS=1 DLL=1 MFLAGS=-MD
2828
or
29-
nmake -f Makefile.msvc DLL=1 MFLAGS=-MD check
29+
nmake -f Makefile.msvc NO_NLS=1 DLL=1 MFLAGS=-MD check
3030
[This runs the testsuite.]
3131

3232
For static library:
3333

34-
nmake -f Makefile.msvc
34+
nmake -f Makefile.msvc NO_NLS=1
3535
or
36-
nmake -f Makefile.msvc check [This runs the testsuite.]
36+
nmake -f Makefile.msvc NO_NLS=1 check [This runs the testsuite.]
3737

3838
If you want to build both the shared and static library, you have to
3939
unpack the libiconv sources twice in different directories. Don't mix
@@ -42,15 +42,15 @@ Installation on Woe32 (WinNT/2000/XP, Win95/98/ME):
4242

4343
Install it:
4444

45-
nmake -f Makefile.msvc DLL=1 MFLAGS=-MD install
45+
nmake -f Makefile.msvc NO_NLS=1 DLL=1 MFLAGS=-MD install
4646
or
47-
nmake -f Makefile.msvc install
47+
nmake -f Makefile.msvc NO_NLS=1 install
4848

4949
Remove traces of this preliminary build:
5050

51-
nmake -f Makefile.msvc DLL=1 MFLAGS=-MD distclean
51+
nmake -f Makefile.msvc NO_NLS=1 DLL=1 MFLAGS=-MD distclean
5252
or
53-
nmake -f Makefile.msvc distclean
53+
nmake -f Makefile.msvc NO_NLS=1 distclean
5454

5555
Step 2: Build and install the GNU gettext package (version 0.12 or newer,
5656
libintl library and various programs) using the same MFLAGS. Then come

src/Makefile.msvc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ SHELL = /bin/sh
8787

8888
all : iconv.exe
8989

90-
iconv.exe : $(srcdir)/iconv.c ../lib/iconv.lib
91-
$(CC) $(INCLUDES) -I..\lib $(CFLAGS) -DINSTALLPREFIX=\"$(IIprefix)\" -DINSTALLDIR=\"$(IIbindir)\" $(srcdir)/iconv.c $(LIBINTL) ../lib/iconv.lib -Feiconv.exe
90+
iconv.exe : $(srcdir)/iconv.c ../srclib/icrt.lib ../lib/iconv.lib
91+
$(CC) $(INCLUDES) -I..\lib $(CFLAGS) -DINSTALLPREFIX=\"$(IIprefix)\" -DINSTALLDIR=\"$(IIbindir)\" $(srcdir)/iconv.c ../srclib/icrt.lib $(LIBINTL) ../lib/iconv.lib -Feiconv.exe
9292
$(RM) iconv.obj
9393
!if $(DLL)
9494
copy ..\lib\iconv.dll iconv.dll

0 commit comments

Comments
 (0)