summaryrefslogtreecommitdiffstats
path: root/ldap/servers
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2005-03-29 20:07:30 +0000
committerNathan Kinder <nkinder@redhat.com>2005-03-29 20:07:30 +0000
commit0e67c5a751bc22ca8b514108c4424943498d1f3b (patch)
tree05d82eb94e7176824de35dbe02e6faece0f8939e /ldap/servers
parent7fae23788aedde6d2e957473c91b6fc8f47a9dda (diff)
downloadds-0e67c5a751bc22ca8b514108c4424943498d1f3b.tar.gz
ds-0e67c5a751bc22ca8b514108c4424943498d1f3b.tar.xz
ds-0e67c5a751bc22ca8b514108c4424943498d1f3b.zip
Added 64-bit linker options for HP-UX and Solaris
Diffstat (limited to 'ldap/servers')
-rw-r--r--ldap/servers/snmp/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/ldap/servers/snmp/Makefile b/ldap/servers/snmp/Makefile
index 1102bc8e..e09a1cca 100644
--- a/ldap/servers/snmp/Makefile
+++ b/ldap/servers/snmp/Makefile
@@ -33,6 +33,15 @@ ifneq ($(ARCH), WINNT)
ARCH := $(shell $(BUILD_ROOT)/nsarch)
endif
+ifeq ($(USE_64), 1)
+ifeq ($(ARCH), HPUX)
+LDFLAGS += -lpthread +DA2.0W +DS2.0 +Z
+endif
+ifeq ($(ARCH), SOLARIS)
+LDFLAGS += -xarch=v9
+endif
+endif
+
SNMP_OBJS = main.o ldap-agent.o agtmmap.o
OBJS = $(addprefix $(OBJDEST)/, $(SNMP_OBJS))
SNMPMODULE = ldap-agent