Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nss/Makefile.am
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2010-07-18 13:25:57 +0200
committerArthur de Jong <arthur@arthurdejong.org>2010-07-18 13:25:57 +0200
commite395a26cd3c16874a14c75dc73931af2374c7253 (patch)
tree8a594e44f7c9e9e65e1b22309dede3c52855358c /nss/Makefile.am
parent6b045d7a2ffde685d377ebb240428b1d809764b3 (diff)
use -h linker flag instead of -soname which seems more portable
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1164 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nss/Makefile.am')
-rw-r--r--nss/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/Makefile.am b/nss/Makefile.am
index 76bcdb3..4b75ea0 100644
--- a/nss/Makefile.am
+++ b/nss/Makefile.am
@@ -30,7 +30,7 @@ nss_ldap_so_SOURCES = common.c common.h prototypes.h \
aliases.c ethers.c group.c hosts.c netgroup.c \
networks.c passwd.c protocols.c rpc.c services.c \
shadow.c
-nss_ldap_so_LDFLAGS = -shared -Wl,-soname,$(NSS_LDAP_SONAME)
+nss_ldap_so_LDFLAGS = -shared -Wl,-h,$(NSS_LDAP_SONAME)
if HAVE_VERSION_SCRIPT_FLAG
nss_ldap_so_LDFLAGS += $(VERSION_SCRIPT_FLAG)\$(srcdir)/nss_ldap.map
endif