OSX ?

Timothee Besset ttimo at idsoftware.com
Thu Oct 16 17:40:21 EDT 2003


Hey

I had to apply the patch below to get loki_setup compiling on OSX. Turns
off static linking basically. This is on 10.2 and fink unstable.

TTimo

Index: configure.in
===================================================================
RCS file: /cvs/cvsroot/loki_setup/configure.in,v
retrieving revision 1.41
diff -u -r1.41 configure.in
--- configure.in        2003/08/13 21:48:29     1.41
+++ configure.in        2003/10/16 21:30:16
@@ -161,7 +161,7 @@
        LIBDL=""
        ARCH=`uname -p` ;;
     powerpc-apple-darwin*)
-       STATIC="-static"
+       STATIC=""
        RDYNAMIC="-Wl,-Sn"
        BSTATIC=""
        BDYNAMIC=""
@@ -242,16 +242,6 @@
         CARBONLIBS="$CARBON_LIBS $LIBINTL"
     fi
 )
-
-case "$target" in
-       powerpc-apple-darwin*)
-    if test -f /sw/lib/libintl.a; then
-        LIBINTL="/sw/lib/libintl.a /sw/lib/libiconv.a"
-        LIBS="$LIBS $LIBINTL"
-        GUILIBS="$GUI_LIBS $LIBINTL"
-        CARBONLIBS="$CARBON_LIBS $LIBINTL"
-    fi
-esac
  
 AC_CHECK_LIB(gpm, Gpm_Open, USE_GPM=yes)
  



More information about the Lokisetup mailing list