diff options
Diffstat (limited to 'rules/library-path.mk')
-rw-r--r-- | rules/library-path.mk | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/rules/library-path.mk b/rules/library-path.mk index 9a398eebf0..92511f2c94 100644 --- a/rules/library-path.mk +++ b/rules/library-path.mk @@ -13,9 +13,8 @@ # $1 = paths to prepend ifeq "$(TargetOS_CPP)" "mingw32" prependLibraryPath = $(error Do not know how to prependLibraryPath on Windows) -else ifeq "$(TargetOS_CPP)" "darwin" -prependLibraryPath = export DYLD_LIBRARY_PATH="$1$${DYLD_LIBRARY_PATH:+:$$DYLD_LIBRARY_PATH}" -else +else ifneq "$(TargetOS_CPP)" "darwin" prependLibraryPath = export LD_LIBRARY_PATH="$1$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH}" +else +prependLibraryPath = endif - |