Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
test: ensure we use --no-as-needed when linking
Baptiste Daroussin committed 1 month ago
commit a263bb8f1ba601dea50ac94daaac1fcf52eb78e6
parent 5f29dca
1 file changed +2 -1
modified tests/frontend/add.sh
@@ -324,7 +324,8 @@ create_shlibs() {
	touch empty.c
	cc -shared -Wl,-soname=libtest.so.1 empty.c -o libtest.so.1
	ln -s libtest.so.1 libtest.so
-
	cc -shared -Wl,-soname=libconsumer.so.1 empty.c -o libconsumer.so.1 -L. -ltest
+
	cc -shared -Wl,-soname=libconsumer.so.1 -Wl,--no-as-needed \
+
		empty.c -o libconsumer.so.1 -L. -ltest
}

# Helper: set up the symlink directory layout for shlib tests.