r15285 - gnucash/branches/2.0 - Make sure we set DYLD_LIBRARY_PATH in the test environment (for MacOS X)

Derek Atkins warlord at cvs.gnucash.org
Sat Dec 30 14:46:13 EST 2006


Author: warlord
Date: 2006-12-30 14:46:13 -0500 (Sat, 30 Dec 2006)
New Revision: 15285
Trac: http://svn.gnucash.org/trac/changeset/15285

Modified:
   gnucash/branches/2.0/
   gnucash/branches/2.0/ChangeLog
   gnucash/branches/2.0/src/gnc-test-env
Log:
Make sure we set DYLD_LIBRARY_PATH in the test environment (for MacOS X)

Approved by jsled
Merge from r15259



Property changes on: gnucash/branches/2.0
___________________________________________________________________
Name: svk:merge
   - 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/branches/2.0:697
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/2.0:13802
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13282
   + 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/branches/2.0:697
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/2.0:13803
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13282

Modified: gnucash/branches/2.0/ChangeLog
===================================================================
--- gnucash/branches/2.0/ChangeLog	2006-12-30 19:45:54 UTC (rev 15284)
+++ gnucash/branches/2.0/ChangeLog	2006-12-30 19:46:13 UTC (rev 15285)
@@ -18,6 +18,9 @@
 	  SCM_EXACTP() This causes gnucash to crash on e.g. FC6 from the
 	  File Properties Menu.
 
+	* Make sure we set DYLD_LIBRARY_PATH in the test environment (for
+	  MacOS X)
+	
 2006-12-30  Christian Stimming  <stimming at tuhh.de>
 
 	* Check for potentially failed utf8 conversion of locale strings.

Modified: gnucash/branches/2.0/src/gnc-test-env
===================================================================
--- gnucash/branches/2.0/src/gnc-test-env	2006-12-30 19:45:54 UTC (rev 15284)
+++ gnucash/branches/2.0/src/gnc-test-env	2006-12-30 19:46:13 UTC (rev 15285)
@@ -78,6 +78,14 @@
                    (string-append ":" dir ":" dir "/.libs"))
                  library-dirs)))
 
+(display " DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}")
+(display (adapt-dirsep
+	  (apply string-append
+		 (map
+		  (lambda (dir)
+		    (string-append ":" dir ":" dir "/.libs"))
+		  (append gnc-module-dirs library-dirs)))))
+
 (display " LTDL_LIBRARY_PATH=${LTDL_LIBRARY_PATH}")
 (display (apply string-append
                 (map
@@ -96,6 +104,7 @@
       (display " export GNC_MODULE_PATH;")
       (display " export GUILE_LOAD_PATH;")
       (display " export LD_LIBRARY_PATH;")
+      (display " export DYLD_LIBRARY_PATH;")
       (display " export LTDL_LIBRARY_PATH;")))
 
 ;; Local Variables:



More information about the gnucash-changes mailing list