From cd6a141f37b614d34a44972cb3d852b18300cbe9 Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Tue, 12 Nov 2002 10:17:21 +0000 Subject: [PATCH] Fix for static gcc builds --- configure/os/CONFIG.Common.hpux-parisc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure/os/CONFIG.Common.hpux-parisc b/configure/os/CONFIG.Common.hpux-parisc index 00f1320ca..a77fdb112 100644 --- a/configure/os/CONFIG.Common.hpux-parisc +++ b/configure/os/CONFIG.Common.hpux-parisc @@ -15,8 +15,10 @@ ARCH_CLASS = parisc POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L POSIX_CPPFLAGS_NO = -POSIX_LDLIBS_YES += POSIX_LDLIBS_NO += +# When compiling with gcc, static builds need two more libraries (*sigh*) +POSIX_LDLIBS_GNU_YES_STATIC_YES += -lpthread -l:libdld.sl +POSIX_LDLIBS_YES = $(POSIX_LDLIBS_GNU_$(GNU)_STATIC_$(STATIC_BUILD)) OP_SYS_CPPFLAGS = -D_HPUX_SOURCE -DHP_UX