pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: devel/gobject-introspection macOS rpath pkgsrc wrapper



On Fri, Jul 19, 2019 at 05:07:59PM +0400, cl?ment bouvier wrote:
> LD_LIBRARY_PATH does not solve the problem.

Maybe

DYLD_FALLBACK_LIBRARY_PATH or DYLD_LIBRARY_PATH

on MacOS? (Maybe someone who actually uses MacOS would like to make some
suggestions?)


Cheers,

Patrick

I see

Author: Marcus Calhoun-Lopez <marcuscalhounlopez%gmail.com@localhost>
Date:   Wed Jun 20 07:49:45 2018 -0700

    giscanner:  do not override dyld search path on macOS
    
    Closes https://gitlab.gnome.org/GNOME/gobject-introspection/issues/205

diff --git a/giscanner/ccompiler.py b/giscanner/ccompiler.py
index bd739ffa..ecbeb684 100644
--- a/giscanner/ccompiler.py
+++ b/giscanner/ccompiler.py
@@ -119,7 +119,7 @@ class CCompiler(object):
         if os.name == 'nt':
             runtime_path_envvar = ['LIB', 'PATH']
         else:
-            runtime_path_envvar = ['LD_LIBRARY_PATH', 'DYLD_LIBRARY_PATH']
+            runtime_path_envvar = ['LD_LIBRARY_PATH', 'DYLD_FALLBACK_LIBRARY_PATH']
             # Search the current directory first
             # (This flag is not supported nor needed for Visual C++)
             args.append('-L.')



Home | Main Index | Thread Index | Old Index