Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
test: ensure we use --no-as-needed when linking
Baptiste Daroussin committed 2 months ago
commit a263bb8f1ba601dea50ac94daaac1fcf52eb78e6
parent 5f29dcad9ef75a0426f401eb50a7dd464b48bb19
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.