From 8162e07cc0b25ec5bb25dda244c96e5f7cc18ea9 Mon Sep 17 00:00:00 2001 From: stf <7o5rfu92t@ctrlc.hu> Date: Sat, 13 Jul 2024 01:04:51 +0200 Subject: [PATCH] [mod] removed -l,rpath is a gccism --- src/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/makefile b/src/makefile index ab97271..176c6bd 100644 --- a/src/makefile +++ b/src/makefile @@ -15,14 +15,14 @@ AR?=ar UNAME := $(shell uname -s) ifeq ($(UNAME),Darwin) SOEXT=dylib - SOFLAGS=-Wl,-install_name,liboprf.$(SOEXT) -Wl,-rpath=$(DESTDIR)$(PREFIX)/lib + SOFLAGS=-Wl,-install_name,liboprf.$(SOEXT) else CFLAGS+=-Wl,-z,defs -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,now \ -fsanitize=signed-integer-overflow -fsanitize-undefined-trap-on-error \ -fcf-protection=full # -mbranch-protection=standard -fstrict-flex-arrays=3 SOEXT=so - SOFLAGS=-Wl,-soname,libopaque.$(SOEXT).$(SOVER) -Wl,-rpath=$(DESTDIR)$(PREFIX)/lib + SOFLAGS=-Wl,-soname,libopaque.$(SOEXT).$(SOVER) endif SODIUM_NEWER_THAN_1_0_18 := $(shell pkgconf --atleast-version=1.0.19 libsodium; echo $$?)