Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Make the compiled test programs dynamically link against libpkg.so.1 in the build tree, rather than any copy that happens to be on the usual library search path.
Matthew Seaman committed 13 years ago
commit 2472aefbbc947f49079cfb6659cb9b8e49bb3e18
parent 9b806c7dce36094c5a125b0eaf63cf347b1a7f26
1 file changed +2 -1
modified tests/lib/Makefile
@@ -5,7 +5,8 @@ test_SRCS= manifest.c \
		pkg.c

CFLAGS+=	-I../../libpkg
-
LDADD+=		-L../../libpkg	\
+
LDADD+=		-Wl,-rpath ${.CURDIR}/../../libpkg \
+
		-L../../libpkg	\
		-lpkg

.include "../bsd.tests.mk"