]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
No need for dllexported when building a static library.
authorBruno Haible <bruno@clisp.org>
Mon, 12 May 2003 19:12:04 +0000 (19:12 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:29 +0000 (12:10 +0200)
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/Makefile.msvc

index 50f5909ad4f514dfb27547cb1f15f27858a5c2e7..20f2c9b905fbde1d7f99c422ad2dd62e3a8342a7 100644 (file)
@@ -1,3 +1,9 @@
+2003-05-12  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.msvc (PICFLAGS, CFLAGS): Move BUILDING_* macros from
+       CFLAGS to PICFLAGS.
+       Reported by Perry Rapp.
+
 2003-05-07  Bruno Haible  <bruno@clisp.org>
 
        * Makefile.vms (install): Fix mistake.
index ba6bd0a3691bb5ec40f7c3e934de064b0e284227..59199531a10cd458f21c01f034e4679d1144385d 100644 (file)
@@ -66,7 +66,9 @@ PICFLAGS =
 !else
 # "-GD" (msvc5) optimizes for DLL.
 # mscv4 doesn't know about this flag and ignores it.
-PICFLAGS = -GD
+# -DBUILDING_LIBINTL: Change expansion of LIBINTL_DLL_EXPORTED macro.
+# -DBUILDING_DLL: Change expansion of RELOCATABLE_DLL_EXPORTED macro.
+PICFLAGS = -GD -DBUILDING_LIBINTL -DBUILDING_DLL
 !endif
 
 !if $(DEBUG)
@@ -76,9 +78,7 @@ OPTIMFLAGS = -Od -Z7
 OPTIMFLAGS = -D_NDEBUG -O1
 !endif
 
-# -DBUILDING_LIBINTL: Change expansion of LIBINTL_DLL_EXPORTED macro.
-# -DBUILDING_DLL: Change expansion of RELOCATABLE_DLL_EXPORTED macro.
-CFLAGS = $(MFLAGS) $(WARN_CFLAGS) $(OPTIMFLAGS) -DHAVE_CONFIG_H -DBUILDING_LIBINTL -DBUILDING_DLL -DLOCALEDIR=\"$(IIlocaledir)\" -DLOCALE_ALIAS_PATH=\"$(IIaliaspath)\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"$(IIbindir)\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1
+CFLAGS = $(MFLAGS) $(WARN_CFLAGS) $(OPTIMFLAGS) -DHAVE_CONFIG_H -DLOCALEDIR=\"$(IIlocaledir)\" -DLOCALE_ALIAS_PATH=\"$(IIaliaspath)\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"$(IIbindir)\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1
 
 INCLUDES = -I. -I.. -I$(includedir)