Author: chromatic Date: Tue Jan 6 13:54:31 2009 New Revision: 35082 Modified: trunk/ext/Parrot-Embed/Build.PL Log: [Parrot::Embed] Improved dynamic library path detection (reported by Gabor Szabo). Modified: trunk/ext/Parrot-Embed/Build.PL ============================================================================== --- trunk/ext/Parrot-Embed/Build.PL (original) +++ trunk/ext/Parrot-Embed/Build.PL Tue Jan 6 13:54:31 2009 @@ -67,7 +67,7 @@ sub get_dl_env_var { - return $Config{ldlibpthname}; + return $Config{ldlibpthname} if $Config{ldlibpthname}; return 'DYLD_LIBRARY_PATH' if $^O =~ /darwin/; return 'PATH' if $^O =~ /Win32/; return 'LD_LIBRARY_PATH';