From d4a501e9afe855e9f3325c330242d1966182caa1 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sat, 27 Aug 2022 19:09:05 +0300 Subject: [PATCH] PORT: use rpath linker option --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index f5758a2..cb5499b 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,7 @@ SOURCE = $(BASENAME).c LDFLAGS += -shared LDFLAGS += -Llib +LDFLAGS += -Wl,-rpath,lib LDFLAGS += -lswipl CFLAGS += -fPIC -- 2.39.2