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
This commit is contained in:
Brian West 2014-03-05 05:15:32 -06:00
parent 74775d4397
commit 783a4083ed
1 changed files with 1 additions and 1 deletions

View File

@ -575,7 +575,7 @@ case "$host" in
;; ;;
*netbsd*) *netbsd*)
APR_ADDTO(CFLAGS, -I/usr/pkg/include) 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) APR_ADDTO(SWITCH_AM_CFLAGS, -I/usr/pkg/include)
;; ;;
*bsd*) *bsd*)