From 47d5f680b42c229bdeef0be7fe8a046a7443a41b Mon Sep 17 00:00:00 2001 From: Nathan Kinder Date: Fri, 16 Feb 2007 23:25:06 +0000 Subject: Resolves: 229095 Summary: Fixed build flags for compiling with pthread on HP-UX. --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 3fcf60d4..a16198e9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,6 +25,10 @@ PATH_DEFINES = -DLOCALSTATEDIR="\"$(localstatedir)\"" -DSYSCONFDIR="\"$(sysconfd AM_CPPFLAGS = $(DEBUG_DEFINES) $(DS_DEFINES) $(DS_INCLUDES) $(PATH_DEFINES) PLUGIN_CPPFLAGS = $(AM_CPPFLAGS) @ldapsdk_inc@ @nss_inc@ @nspr_inc@ +# We need to make sure that libpthread is linked before libc on HP-UX. +if HPUX +AM_LDFLAGS = -lpthread +endif #------------------------ # Linker Flags -- cgit