From 783a4083ed5c48c544f47f9259dfb9a47d8a2464 Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 5 Mar 2014 05:15:32 -0600 Subject: [PATCH] configure: error: could not detect a 64-bit integer type NetBSD dagonet.omniscient.local 6.1.3 NetBSD 6.1.3 (GENERIC_HZ) #1: Sat Mar 1 19:18:46 EST 2014 met@dagonet.omniscient.local:/data/netbsd/obj/usr/src/sys/arch/i386/compile/GENERIC_HZ i386 Failure due to test programs have "Shared object "libXXX.so.X" not found" Adding -Wl,-rpath,/usr/pkg/lib to LDFLAGS for NetBSD --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 40e396874f..ea589a3964 100644 --- a/configure.in +++ b/configure.in @@ -575,7 +575,7 @@ case "$host" in ;; *netbsd*) APR_ADDTO(CFLAGS, -I/usr/pkg/include) - APR_ADDTO(LDFLAGS, -L/usr/pkg/lib) + APR_ADDTO(LDFLAGS, [-L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib]) APR_ADDTO(SWITCH_AM_CFLAGS, -I/usr/pkg/include) ;; *bsd*)