diff options
author | Michael Adam <obnox@samba.org> | 2008-07-06 20:35:13 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-07-07 20:34:00 +0200 |
commit | cc20a6ba9d94ac90524dab7eb110255e773a9e07 (patch) | |
tree | 5873202747e1a91623d80a4c4bcf5cab61927484 /source3 | |
parent | 521d4c8c6f597d1c7d44b022b236b7f36f350f50 (diff) | |
download | samba-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')
-rw-r--r-- | source3/Makefile.in | 8 |
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 |