mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-25 11:46:43 +00:00
llvm: fix rpath
This commit is contained in:
parent
404412172f
commit
0c13f5895c
24
packages/devel/llvm/patches/llvm-3.3-fix-rpath.patch
Normal file
24
packages/devel/llvm/patches/llvm-3.3-fix-rpath.patch
Normal file
@ -0,0 +1,24 @@
|
||||
commit 59c7f0369a67e1aecf365c92186bc5b45e0efcba
|
||||
Author: Stefan Saraev <stefan@saraev.ca>
|
||||
Date: Mon Oct 14 22:03:43 2013 +0300
|
||||
|
||||
fix rpath
|
||||
|
||||
diff --git a/Makefile.rules b/Makefile.rules
|
||||
index f0c542b..fc5fe64 100644
|
||||
--- a/Makefile.rules
|
||||
+++ b/Makefile.rules
|
||||
@@ -639,11 +639,10 @@ endif
|
||||
ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
|
||||
ifneq ($(HOST_OS), Darwin)
|
||||
ifdef TOOLNAME
|
||||
- LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib'
|
||||
ifdef EXAMPLE_TOOL
|
||||
- LD.Flags += $(RPATH) -Wl,$(ExmplDir) $(DynamicFlag)
|
||||
+ LD.Flags += $(DynamicFlag)
|
||||
else
|
||||
- LD.Flags += $(RPATH) -Wl,$(ToolDir) $(DynamicFlag)
|
||||
+ LD.Flags += $(DynamicFlag)
|
||||
endif
|
||||
endif
|
||||
else
|
Loading…
x
Reference in New Issue
Block a user