Update of /cvsroot/monetdb/buildtools/autogen/autogen
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7423/autogen/autogen

Modified Files:
        am.py 
Log Message:
propagated changes of Tuesday Aug 21 2007 - Thursday Aug 23 2007
from the MonetDB_1-18 branch to the development trunk


Index: am.py
===================================================================
RCS file: /cvsroot/monetdb/buildtools/autogen/autogen/am.py,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- am.py       18 Jul 2007 14:57:16 -0000      1.43
+++ am.py       23 Aug 2007 12:37:46 -0000      1.44
@@ -507,7 +507,11 @@
         fd.write(am_additional_libs(norm_binname, "", "BIN", binmap["LIBS"], 
am))
 
     if binmap.has_key("LDFLAGS"):
-        fd.write(am_additional_flags(norm_binname, "", "BIN", 
binmap["LDFLAGS"], am))
+        ldflags = binmap["LDFLAGS"][:]
+    else:
+        ldflags = []
+    ldflags.append('-export-dynamic')
+    fd.write(am_additional_flags(norm_binname, "", "BIN", ldflags, am))
 
     for src in binmap['SOURCES']:
         base, ext = split_filename(src)
@@ -570,7 +574,11 @@
             fd.write(am_additional_libs(bin, "", "BIN", binsmap["LIBS"], am))
 
         if binsmap.has_key("LDFLAGS"):
-            fd.write(am_additional_flags(bin, "", "BIN", binsmap["LDFLAGS"], 
am))
+            ldflags = binsmap["LDFLAGS"][:]
+        else:
+            ldflags = []
+        ldflags.append('-export-dynamic')
+        fd.write(am_additional_flags(bin, "", "BIN", ldflags, am))
 
         nsrcs = "nodist_"+am_normalize(bin)+"_SOURCES ="
         srcs = "dist_"+am_normalize(bin)+"_SOURCES ="


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to