summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2007-02-02 20:23:31 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2007-02-02 20:23:31 +0000
commit502f83219ddb31190530647732d86fb49fe9c9df (patch)
tree1d5d82eabfe7f199b1b48a55fd2fe11a15dfca1c /configure.in
parent3fb13c36d7f7edf96efb900c76afd25faefb0fc2 (diff)
Fix DLL generation via MingW/Cygwin (STR #1546)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 4fd326e6b..a3f2a54eb 100644
--- a/configure.in
+++ b/configure.in
@@ -204,7 +204,7 @@ if test x$enable_shared = xyes; then
GLDSONAME="cygfltknox_gl-$FL_API_VERSION.dll"
IMGDSONAME="cygfltknox_images-$FL_API_VERSION.dll"
fi
- DSOCOMMAND="\$(CXX) \$(DSOFLAGS) -shared -Wl,--whole-archive -Wl,--export-all-symbols -Wl,--enable-auto-import -o \$@"
+ DSOCOMMAND="\$(CXX) \$(DSOFLAGS) -shared -Wl,--whole-archive -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-auto-image-base -o \$@"
;;
*)
AC_MSG_WARN(Shared libraries may not be supported. Trying -shared option with compiler.)
@@ -578,6 +578,7 @@ case $uname in
CXXFLAGS="-mwindows -DWIN32 $CXXFLAGS"
LDFLAGS="-mwindows $LDFLAGS"
LIBS="$LIBS -lole32 -luuid -lcomctl32 -lwsock32"
+ DSOFLAGS="-mwindows"
OPTIM="$OPTIM"
if test x$enable_gl != xno; then