From: Eshel Yaron Date: Sat, 27 Aug 2022 16:09:05 +0000 (+0300) Subject: PORT: use rpath linker option X-Git-Tag: v0.2.0~83 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d4a501e9afe855e9f3325c330242d1966182caa1;p=sweep.git PORT: use rpath linker option --- 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