diff options
author | davek <davek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-23 05:05:35 +0000 |
---|---|---|
committer | davek <davek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-23 05:05:35 +0000 |
commit | 41f834440c6ccfa2a41c886f468c778aaa238d94 (patch) | |
tree | 001ab977795e25f5b8478f231054b6d12b5f139a /libobjc/configure | |
parent | 201b2150310da54289444ef733cb3ef7f21b7b97 (diff) | |
download | gcc-41f834440c6ccfa2a41c886f468c778aaa238d94.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157662 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/configure')
-rwxr-xr-x | libobjc/configure | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libobjc/configure b/libobjc/configure index 123780a8fa1..1dfcb31bd21 100755 --- a/libobjc/configure +++ b/libobjc/configure @@ -3321,6 +3321,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 @@ -10562,7 +10566,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10565 "configure" +#line 10569 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -10668,7 +10672,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10671 "configure" +#line 10675 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11242,7 +11246,7 @@ if test "${enable_sjlj_exceptions+set}" = set; then : enableval=$enable_sjlj_exceptions; : else cat > conftest.$ac_ext << EOF -#line 11245 "configure" +#line 11249 "configure" @interface Frob @end @implementation Frob |