summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project/extras.mk1
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