mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
configure.ac: Add PATH to custom objc library on MinGW (Fix for Bug #25394)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27691 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
77675a872f
commit
cd1af94aee
3 changed files with 3191 additions and 2438 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-01-25 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* configure.ac: Add PATH to custom objc library on MinGW (Fix
|
||||
for Bug #25394)
|
||||
|
||||
2009-01-22 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* target.make (darwin): Don't use -flat_namespace
|
||||
|
|
10
configure.ac
10
configure.ac
|
@ -1035,6 +1035,7 @@ if test -f "$GNUSTEP_HDIR/objc/objc.h"; then
|
|||
if test -f "$GNUSTEP_LDIR/libobjc.a" -o -f "$GNUSTEP_LDIR/libobjc.so" -o -f "$GNUSTEP_LDIR/libobjc.dll.a" -o -f "$GNUSTEP_LDIR/libobjc-gnu.dylib"; then
|
||||
gs_cv_objc_libdir="$GNUSTEP_LDIR"
|
||||
gs_cv_objc_incdir="$GNUSTEP_HDIR"
|
||||
gs_cv_objc_tools="$GNUSTEP_SYSTEM_TOOLS"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -1052,6 +1053,7 @@ if test -f "$GNUSTEP_HDIR/objc/objc.h"; then
|
|||
if test -f "$GNUSTEP_LDIR/libobjc.a" -o -f "$GNUSTEP_LDIR/libobjc.so" -o -f "$GNUSTEP_LDIR/libobjc.dll.a" -o -f "$GNUSTEP_LDIR/libobjc-gnu.dylib"; then
|
||||
gs_cv_objc_libdir="$GNUSTEP_LDIR"
|
||||
gs_cv_objc_incdir="$GNUSTEP_HDIR"
|
||||
gs_cv_objc_tools="$GNUSTEP_NETWORK_TOOLS"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -1069,6 +1071,7 @@ if test -f "$GNUSTEP_HDIR/objc/objc.h"; then
|
|||
if test -f "$GNUSTEP_LDIR/libobjc.a" -o -f "$GNUSTEP_LDIR/libobjc.so" -o -f "$GNUSTEP_LDIR/libobjc.dll.a" -o -f "$GNUSTEP_LDIR/libobjc-gnu.dylib"; then
|
||||
gs_cv_objc_libdir="$GNUSTEP_LDIR"
|
||||
gs_cv_objc_incdir="$GNUSTEP_HDIR"
|
||||
gs_cv_objc_tools="$GNUSTEP_LOCAL_TOOLS"
|
||||
fi
|
||||
fi
|
||||
#gcc_shared_libobjc=`gcc -print-file-name=libobjc.so`
|
||||
|
@ -1086,6 +1089,13 @@ if test "$gs_cv_objc_libdir" != "NONE"; then
|
|||
# And the following to execute them
|
||||
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$gs_cv_objc_libdir"
|
||||
export LD_LIBRARY_PATH
|
||||
# Need to also add the Tools library on mingw
|
||||
case $host_os in
|
||||
*mingw32* )
|
||||
PATH=$PATH:$gs_cv_objc_tools;;
|
||||
* )
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
saved_CFLAGS="$CFLAGS"
|
||||
|
|
Loading…
Reference in a new issue