mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
Fix symlist variable path to use _WIN32 instead of __WINDOWS__.
* libltdl/config/ltmain.m4sh, libltdl/libltdl/lt_system.h, libltdl/m4/libtool.m4, tests/demo/foo.h, tests/pdemo/foo.h: Change __WINDOWS__ to _WIN32. Report by Charles Wilson. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
parent
877260ff04
commit
6df45ac3ae
@ -1,5 +1,11 @@
|
||||
2010-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
Fix symlist variable path to use _WIN32 instead of __WINDOWS__.
|
||||
* libltdl/config/ltmain.m4sh, libltdl/libltdl/lt_system.h,
|
||||
libltdl/m4/libtool.m4, tests/demo/foo.h, tests/pdemo/foo.h:
|
||||
Change __WINDOWS__ to _WIN32.
|
||||
Report by Charles Wilson.
|
||||
|
||||
Add $pic_flag to archive_cmds and archive_expsym_cmds.
|
||||
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
|
||||
<archive_cmds, archive_expsym_cmds>
|
||||
|
@ -2005,7 +2005,7 @@ extern \"C\" {
|
||||
#endif
|
||||
|
||||
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
|
||||
#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE)
|
||||
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
|
||||
/* DATA imports from DLLs on WIN32 con't be const, because runtime
|
||||
relocations are performed -- see ld's documentation on pseudo-relocs. */
|
||||
# define LT_DLSYM_CONST
|
||||
|
@ -77,7 +77,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
|
||||
#endif
|
||||
|
||||
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
|
||||
#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE)
|
||||
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
|
||||
/* DATA imports from DLLs on WIN32 con't be const, because runtime
|
||||
relocations are performed -- see ld's documentation on pseudo-relocs. */
|
||||
# define LT_DLSYM_CONST
|
||||
|
2
libltdl/m4/libtool.m4
vendored
2
libltdl/m4/libtool.m4
vendored
@ -3648,7 +3648,7 @@ _LT_EOF
|
||||
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
|
||||
cat <<_LT_EOF > conftest.$ac_ext
|
||||
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
|
||||
#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE)
|
||||
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
|
||||
/* DATA imports from DLLs on WIN32 con't be const, because runtime
|
||||
relocations are performed -- see ld's documentation on pseudo-relocs. */
|
||||
# define LT@&t@_DLSYM_CONST
|
||||
|
@ -63,7 +63,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
|
||||
#endif
|
||||
|
||||
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
|
||||
#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE)
|
||||
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
|
||||
/* DATA imports from DLLs on WIN32 con't be const, because runtime
|
||||
relocations are performed -- see ld's documentation on pseudo-relocs. */
|
||||
# define LT_DLSYM_CONST
|
||||
|
@ -62,7 +62,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
|
||||
#endif
|
||||
|
||||
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
|
||||
#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE)
|
||||
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
|
||||
/* DATA imports from DLLs on WIN32 con't be const, because runtime
|
||||
relocations are performed -- see ld's documentation on pseudo-relocs. */
|
||||
# define LT_DLSYM_CONST
|
||||
|
Loading…
Reference in New Issue
Block a user