diff options
author | Dave Korn <dave.korn.cygwin@gmail.com> | 2010-03-23 05:05:35 +0000 |
---|---|---|
committer | Dave Korn <davek@gcc.gnu.org> | 2010-03-23 05:05:35 +0000 |
commit | 1922295935280633da068157c633c3e4cf0cb209 (patch) | |
tree | 001ab977795e25f5b8478f231054b6d12b5f139a /libobjc/configure.ac | |
parent | d79238bcd68bdd31b9ce890840b79760e8a4eac5 (diff) | |
download | gcc-1922295935280633da068157c633c3e4cf0cb209.tar.gz |
re PR libobjc/30445 (Fix for FIXME in gcc-4_2-branch/libobjc/Makefile.in)
PR libobjc/30445
* configure.ac (extra_ldflags_libobjc): Define appropriately for
Cygwin and MinGW hosts.
* Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
(libobjc.dll): Likewise.
* configure: Regenerate.
From-SVN: r157662
Diffstat (limited to 'libobjc/configure.ac')
-rw-r--r-- | libobjc/configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libobjc/configure.ac b/libobjc/configure.ac index c2d860ff724..8820edc7e64 100644 --- a/libobjc/configure.ac +++ b/libobjc/configure.ac @@ -161,6 +161,10 @@ case "${host}" in # Darwin needs -single_module when linking libobjc extra_ldflags_libobjc=-Wl,-single_module ;; + *-cygwin*|*-mingw*) + # Tell libtool to build DLLs on Windows + extra_ldflags_libobjc='-no-undefined -bindir $(bindir)' + ;; esac AC_SUBST(extra_ldflags_libobjc) |