Update of /cvsroot/mahogany/M
In directory sc8-pr-cvs1:/tmp/cvs-serv26380

Modified Files:
        configure.in makerules 
Log Message:
vain attempts to make dynamic modules work under Mac; finally disabled this for now

Index: configure.in
===================================================================
RCS file: /cvsroot/mahogany/M/configure.in,v
retrieving revision 1.291
retrieving revision 1.292
diff -b -u -2 -r1.291 -r1.292
--- configure.in        19 Aug 2003 20:23:55 -0000      1.291
+++ configure.in        22 Aug 2003 22:13:45 -0000      1.292
@@ -1089,4 +1089,11 @@
 dnl --------------------------------------------------------------------------
 
+if test "$USE_MAC" = 1; then
+    dnl back-linking doesn't seem to work under Mac OS X: we can create the
+    dnl libraries but they can't be loaded at run-time, so until this is fixed
+    dnl we simply always link the modules statically
+    USE_MODULES="static"
+fi
+
 dnl must be done after configuring wxWin for auto detection to work
 MODULELDFLAGS=
@@ -1403,3 +1410,3 @@
 exit 0
 
-dnl vi: set noet ts=8 sw=4 nolist sta:
+dnl vi: set noet ts=8 sw=4 nolist sta comments+=\:dnl:

Index: makerules
===================================================================
RCS file: /cvsroot/mahogany/M/makerules,v
retrieving revision 1.61
retrieving revision 1.62
diff -b -u -2 -r1.61 -r1.62
--- makerules   20 Sep 2002 13:26:16 -0000      1.61
+++ makerules   22 Aug 2003 22:13:45 -0000      1.62
@@ -4,5 +4,9 @@
 # flags to be set based upon the type of object
 M_FLAGS_o := -c
+ifndef USE_MAC
 M_FLAGS_so := -shared
+else
+M_FLAGS_so := -dynamiclib -undefined suppress -flat_namespace -bind_at_load
+endif
 M_FLAGS_ii := -E
 M_FLAGS_s := -S



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to