Skip to content

Commit

Permalink
Use LTDL_LIBRARY_PATH instead of (DY)LD_LIBRARY_PATH
Browse files Browse the repository at this point in the history
With GnuCash's main libraries now linked at startup instead of being
dlopened at runtime except by Guile we can restrict the library path
renaming to Gnu Libtool's environment variable.
  • Loading branch information
jralls committed Nov 9, 2020
1 parent 6a6396e commit 194a021
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions gnucash/environment.in
Expand Up @@ -64,10 +64,7 @@ GUILE_LOAD_PATH=@GNC_GUILE_LOAD_PATH@;{GUILE_LIBS};{GUILE_LOAD_PATH}
GUILE_LOAD_COMPILED_PATH=@GNC_GUILE_LOAD_COMPILED_PATH@;{GUILE_COMPILED_LIBS};{GUILE_LOAD_COMPILED_PATH}

# Tell Guile where to find GnuCash specific shared libraries
GNC_LIBRARY_PATH={SYS_LIB};{GNC_LIB}
LD_LIBRARY_PATH={GNC_LIBRARY_PATH};{LD_LIBRARY_PATH}
# The same, but for GnuCash on OS X
DYLD_LIBRARY_PATH={GNC_LIBRARY_PATH};{DYLD_LIBRARY_PATH}
LTDL_LIBRARY_PATH={SYS_LIB};{GNC_LIB}

# For changing the language GnuCash uses, first refer to
# to https://wiki.gnucash.org/wiki/Locale_Settings.
Expand Down

0 comments on commit 194a021

Please sign in to comment.