AUDIT? Re: r15259 - gnucash/trunk - Make sure we set DYLD_LIBRARY_PATH in the test environment (for MacOS X)

Derek Atkins warlord at MIT.EDU
Tue Dec 26 12:46:36 EST 2006


Sorry, I forgot to mark this as AUDIT.  This change is necessary
in order to get "make check" to work on MacOS.  With this change
I was able to get "make check" to succeed on MacOS (when I also
started with DYLD_LIBRARY_PATH=/opt/local/lib).

Could someone audit this for backport?  Sure, it's not 100% necessary,
but being able to "make check" seems like a good reason to backport
a patch..  And this one is rather trivial.

-derek

Quoting Derek Atkins <warlord at cvs.gnucash.org>:

> Author: warlord
> Date: 2006-12-26 11:47:42 -0500 (Tue, 26 Dec 2006)
> New Revision: 15259
> Trac: http://svn.gnucash.org/trac/changeset/15259
>
> Modified:
>   gnucash/trunk/
>   gnucash/trunk/src/gnc-test-env
> Log:
> Make sure we set DYLD_LIBRARY_PATH in the test environment (for MacOS X)
>
>
>
> Property changes on: gnucash/trunk
> ___________________________________________________________________
> Name: svk:merge
>   - 
> 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/branches/swig-redo:802
> 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/trunk:1024
> d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13766
> d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk2:13366
>   + 
> 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/branches/swig-redo:802
> 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/trunk:1024
> d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13768
> d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk2:13366
>
> Modified: gnucash/trunk/src/gnc-test-env
> ===================================================================
> --- gnucash/trunk/src/gnc-test-env	2006-12-26 00:07:58 UTC (rev 15258)
> +++ gnucash/trunk/src/gnc-test-env	2006-12-26 16:47:42 UTC (rev 15259)
> @@ -104,6 +104,14 @@
> 		    (string-append ":" dir ":" dir "/.libs"))
> 		  (append gnc-module-dirs 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
> @@ -126,6 +134,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:
>
> _______________________________________________
> gnucash-changes mailing list
> gnucash-changes at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-changes
>



-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list