Skip to content

Commit 4e45e58

Browse files
committed
Remove the llvm lib directory from LD_LIBRARY_PATH on unixy systems
Doesn't seem like this has been required for a while. I don't know enough about the windows build to try to touch that.
1 parent 2c234fd commit 4e45e58

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mk/platform.mk

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,9 @@ ifdef CFG_UNIXY
7777

7878
CFG_PATH_MUNGE := true
7979
CFG_EXE_SUFFIX :=
80-
CFG_LDPATH :=$(CFG_LLVM_LIBDIR)
81-
CFG_RUN_TARG=$(CFG_LDENV)=$(CFG_BUILD_DIR)/$(1)/lib:$(CFG_LDPATH) $(2)
80+
CFG_RUN_TARG=$(CFG_LDENV)=$(CFG_BUILD_DIR)/$(1)/lib $(2)
8281
CFG_RUN_TEST=\
83-
$(CFG_LDENV)=$(call CFG_TESTLIB,$(1)):$(CFG_LDPATH) \
82+
$(CFG_LDENV)=$(call CFG_TESTLIB,$(1)) \
8483
$(CFG_VALGRIND) $(1)
8584

8685
ifdef CFG_ENABLE_MINGW_CROSS

0 commit comments

Comments
 (0)