Add LDFLAGS for DLLs via Cygwin/MingW as noted by Ian MacArthur.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5690 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2007-02-10 21:21:02 +00:00
parent 1dd28f6e4b
commit ded0bf0432

View File

@ -209,6 +209,7 @@ if test x$enable_shared = xyes; then
# -Wl,--enable-runtime-pseudo-reloc: See str 1585 # -Wl,--enable-runtime-pseudo-reloc: See str 1585
# appears to be necessary for older binutils versions < 2.16 # appears to be necessary for older binutils versions < 2.16
#----------------------------------------------------------- #-----------------------------------------------------------
LDFLAGS="$LDFLAGS -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc"
DSOCOMMAND="\$(CXX) \$(DSOFLAGS) -shared \ DSOCOMMAND="\$(CXX) \$(DSOFLAGS) -shared \
-Wl,--whole-archive -Wl,--export-all-symbols \ -Wl,--whole-archive -Wl,--export-all-symbols \
-Wl,--enable-runtime-pseudo-reloc -Wl,--enable-auto-import \ -Wl,--enable-runtime-pseudo-reloc -Wl,--enable-auto-import \