diff options
author | midipix <writeonce@midipix.org> | 2018-12-10 14:38:44 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-10 15:02:10 -0500 |
commit | aa8e3c510f79b885291fc3fdc6942d062e027ee3 (patch) | |
tree | a1f38346581e1495fa0f8ee394b48898d55d6350 /project | |
parent | ab882e2ebff41ae9c73043abf29a02f40f1aa0ae (diff) | |
download | sbpython2-aa8e3c510f79b885291fc3fdc6942d062e027ee3.tar.bz2 sbpython2-aa8e3c510f79b885291fc3fdc6942d062e027ee3.tar.xz |
project: properly support local installations via --rpath.
Diffstat (limited to 'project')
-rw-r--r-- | project/extras.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/project/extras.mk b/project/extras.mk index 5cda9e8..4a62747 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -17,6 +17,7 @@ LDFLAGS_DEPS += -lm -lpthread -lutil -ldl -lcrypt LDFLAGS_DEPS += -Wl,--no-as-needed LDFLAGS_CONFIG += $(LDFLAGS_DEPS) +LDFLAGS_CONFIG += -Wl,-rpath -Wl,$(LIBDIR) ifeq ($(ALL_STATIC),yes) CFLAGS_STATIC += -DPY_ALL_STATIC |