diff options
Diffstat (limited to 'rules/library-path.mk')
-rw-r--r-- | rules/library-path.mk | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/rules/library-path.mk b/rules/library-path.mk deleted file mode 100644 index 9a398eebf0..0000000000 --- a/rules/library-path.mk +++ /dev/null @@ -1,21 +0,0 @@ -# ----------------------------------------------------------------------------- -# -# (c) 2010 The University of Glasgow -# -# This file is part of the GHC build system. -# -# To understand how the build system works and how to modify it, see -# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture -# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying -# -# ----------------------------------------------------------------------------- - -# $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 -prependLibraryPath = export LD_LIBRARY_PATH="$1$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH}" -endif - |