[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries
From: |
Elizabeth Barham |
Subject: |
Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries? |
Date: |
28 Sep 2002 20:53:24 -0500 |
Earnie Boyd <address@hidden> writes:
> Ok, submit a proper patch against the CVS source to address@hidden for
> proper credit for the fix.
Okay, I am satisfied with this and submit this patch for peer review.
SYNOPSIS:
Adds a linker flag check for "-shared" before those that are all ready
defined when building a win32 dll (using the AC_LIBTOOL_WIN32_DLL in
configure.ac) for a mingw* host.
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libtool.m4,v
retrieving revision 1.264
diff -r1.264 libtool.m4
510c510
< # require "-mdll"
---
> # require "-mdll" (and still newer ones would rather have "-shared")
512c512
< CFLAGS="$CFLAGS -mdll"
---
> CFLAGS="$CFLAGS -shared"
514c514,517
< [AC_TRY_LINK([], [],
[lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
---
> [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-shared],
> [
> CFLAGS="$SAVE_CFLAGS -mdll"
> AC_TRY_LINK([], [],
> [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])])
Regards,
Elizabeth
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Earnie Boyd, 2002/09/24
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Bob Friesenhahn, 2002/09/24
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Elizabeth Barham, 2002/09/26
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Earnie Boyd, 2002/09/26
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Elizabeth Barham, 2002/09/26
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Earnie Boyd, 2002/09/27
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Max Bowsher, 2002/09/27
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Elizabeth Barham, 2002/09/27
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?,
Elizabeth Barham <=
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Earnie Boyd, 2002/09/28
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Elizabeth Barham, 2002/09/28
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Earnie Boyd, 2002/09/29
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Elizabeth Barham, 2002/09/29
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Earnie Boyd, 2002/09/30
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Elizabeth Barham, 2002/09/30
Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Elizabeth Barham, 2002/09/24