summaryrefslogtreecommitdiff
path: root/source3/Makefile.in
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-06 20:35:13 +0200
committerMichael Adam <obnox@samba.org>2008-07-07 20:34:00 +0200
commitcc20a6ba9d94ac90524dab7eb110255e773a9e07 (patch)
tree5873202747e1a91623d80a4c4bcf5cab61927484 /source3/Makefile.in
parent521d4c8c6f597d1c7d44b022b236b7f36f350f50 (diff)
downloadsamba-cc20a6ba9d94ac90524dab7eb110255e773a9e07.tar.gz
samba-cc20a6ba9d94ac90524dab7eb110255e773a9e07.tar.bz2
samba-cc20a6ba9d94ac90524dab7eb110255e773a9e07.zip
build: fix installlibnetapi target - install symlink libnetapi.so (if appropriate)
Michael (This used to be commit 59e7827e557c5096fb363051a4cf1835b2a53223)
Diffstat (limited to 'source3/Makefile.in')
-rw-r--r--source3/Makefile.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index ac233c6d30..1798a72657 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1795,8 +1795,14 @@ cleanlibnetapi::
installlibnetapi:: installdirs libnetapi
@$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
- -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET) $(DESTDIR)$(LIBDIR)
+ -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
+ @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
+ -if test -e $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
+ ln -s -f `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
+ $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
+ fi
-$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
+ @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
-$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include