From: Gurusamy Sarathy Date: Thu, 12 Feb 1998 18:29:52 +0000 (+0000) Subject: [win32] pickup lddlflags properly for Config.pm X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=aa4575bf4ce4d2fd206049550c639de7bbca57c4;p=p5sagit%2Fp5-mst-13.2.git [win32] pickup lddlflags properly for Config.pm p4raw-id: //depot/win32/perl@515 --- diff --git a/win32/Makefile b/win32/Makefile index 478137e..be70f67 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -383,7 +383,7 @@ config.w32 : $(CFGSH_TMPL) "libc=$(LIBC)" \ "static_ext=$(STATIC_EXT)" \ "dynamic_ext=$(DYNAMIC_EXT)" \ - "ldflags=$(LINK_FLAGS)" \ + "LINK_FLAGS=$(LINK_FLAGS)" \ "optimize=$(OPTIMIZE)" \ config.w32 > ..\config.sh diff --git a/win32/config.bc b/win32/config.bc index b656184..28b6907 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -364,8 +364,8 @@ known_extensions='DB_File Fcntl GDBM_File NDBM_File ODBM_File Opcode POSIX SDBM_ ksh='' large='' ld='tlink32' -lddlflags='-Tpd' -ldflags='' +lddlflags='-Tpd ~LINK_FLAGS~' +ldflags='~LINK_FLAGS~' less='less' lib_ext='.lib' libc='cw32mti.lib' diff --git a/win32/config.gc b/win32/config.gc index d32c1e9..11e676a 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -364,8 +364,8 @@ known_extensions='DB_File Fcntl GDBM_File NDBM_File ODBM_File Opcode POSIX SDBM_ ksh='' large='' ld='gcc' -lddlflags='-dll' -ldflags='' +lddlflags='-dll ~LINK_FLAGS~' +ldflags='~LINK_FLAGS~' less='less' lib_ext='.lib' libc='msvcrt.lib' diff --git a/win32/config.vc b/win32/config.vc index a1b5bc3..240f2a8 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -364,8 +364,8 @@ known_extensions='DB_File Fcntl GDBM_File NDBM_File ODBM_File Opcode POSIX SDBM_ ksh='' large='' ld='link' -lddlflags='-dll' -ldflags='-nologo -subsystem:windows' +lddlflags='-dll ~LINK_FLAGS~' +ldflags='~LINK_FLAGS~' less='less' lib_ext='.lib' libc='msvcrt.lib' diff --git a/win32/makefile.mk b/win32/makefile.mk index 245d904..0da0797 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -502,7 +502,7 @@ config.w32 : $(CFGSH_TMPL) "libc=$(LIBC)" \ "static_ext=$(STATIC_EXT)" \ "dynamic_ext=$(DYNAMIC_EXT)" \ - "ldflags=$(LINK_FLAGS)" \ + "LINK_FLAGS=$(LINK_FLAGS)" \ "optimize=$(OPTIMIZE)" \ config.w32 > ..\config.sh