Apply gmic-3.2.5-relative_rpath.patch from gentoo

This commit is contained in:
Nedko Arnaudov 2023-11-05 15:01:37 +02:00
parent 7ec06f4611
commit 538035a408
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ MANDATORY_LIBS = $(shell pkg-config --libs zlib || echo -lz) $(EXTRA_LIBS)
ifndef NO_SRIPDLIB
MANDATORY_CFLAGS += -std=c++11 -pedantic
endif
MANDATORY_LIBS += -L. -L$(PREFIX)/$(LIB) -Wl,-rpath,.
MANDATORY_LIBS += -L. -L$(PREFIX)/$(LIB)
ifdef IS_GCC
MANDATORY_CFLAGS += -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label
GCC_VER_GTEQ5 = $(shell expr `$(CXX) -dumpversion | cut -f1 -d.` \>= 5)