From aa8e3c510f79b885291fc3fdc6942d062e027ee3 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 10 Dec 2018 14:38:44 -0500 Subject: project: properly support local installations via --rpath. --- project/extras.mk | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3