[win32] pickup lddlflags properly for Config.pm
Gurusamy Sarathy [Thu, 12 Feb 1998 18:29:52 +0000 (18:29 +0000)]
p4raw-id: //depot/win32/perl@515

win32/Makefile
win32/config.bc
win32/config.gc
win32/config.vc
win32/makefile.mk

index 478137e..be70f67 100644 (file)
@@ -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
 
index b656184..28b6907 100644 (file)
@@ -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'
index d32c1e9..11e676a 100644 (file)
@@ -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'
index a1b5bc3..240f2a8 100644 (file)
@@ -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'
index 245d904..0da0797 100644 (file)
@@ -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