Added `-rpath ./` to linker for test builds.

Fortune for memfd_secret-shim's current commit: Small curse − 小凶
master
Avril 8 months ago
parent 7fbb1940e4
commit d5f7af1f3d
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -54,7 +54,7 @@ CONSTANTS+=_GNU_SOURCE
# Can be {release,debug}.{a,so}
TARGET?=debug.a
TEST_LDFLAGS+= -lfmt -lstdc++ -Wl,-z,now -Wl,-z -Wl,relro
TEST_LDFLAGS+= -lfmt -lstdc++ -Wl,-z,now -Wl,-z -Wl,relro -Wl,-rpath,./
TEST_CFLAGS+= -Og -g -fwhole-program
override __COMMA=,

Loading…
Cancel
Save