From 8e9d312b21ee1214db1998a0b0057a7d10477d42 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Fri, 17 Jul 2015 12:28:56 +0200 Subject: Add binary_link_command; Use compiler configs to set RPATH on Linux --- src/build-data/cc/clang.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/build-data/cc/clang.txt') diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt index e0520d946..d9de36dba 100644 --- a/src/build-data/cc/clang.txt +++ b/src/build-data/cc/clang.txt @@ -32,6 +32,13 @@ default -> "$(CXX) -shared -fPIC -Wl,-soname,$(SONAME)" darwin -> "$(CXX) -dynamiclib -fPIC -install_name $(LIBDIR)/$(SONAME)" + +linux -> "$(LINKER) -Wl,-rpath=\$$ORIGIN" +linux-debug -> "$(LINKER) -Wl,-rpath=\$$ORIGIN" +default -> "$(LINKER)" +default-debug -> "$(LINKER)" + + sse2 -> "-msse2" ssse3 -> "-mssse3" -- cgit v1.2.3