diff options
author | Michael Adam <obnox@samba.org> | 2008-07-06 21:14:17 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2008-08-18 14:56:05 +0200 |
commit | daec66a68fe5d649d6ec922fa99dc799b5539b67 (patch) | |
tree | b1bbdd7bfbed8f42c805458ac235fbcb645733e9 /source/Makefile.in | |
parent | b9990e7facf7fe4ab8b7f2e3b235e918194dda34 (diff) | |
download | samba-daec66a68fe5d649d6ec922fa99dc799b5539b67.tar.gz |
build: fix the installlibwbclient target to use defined variables and install the symlink
Michael
(cherry picked from commit 922b136ada1c502edcbbb89e9cca155cd6ad376c)
(cherry picked from commit b3a0602cc47c2f3d452c42a475a3103899802729)
Diffstat (limited to 'source/Makefile.in')
-rw-r--r-- | source/Makefile.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source/Makefile.in b/source/Makefile.in index 85d9aaabddd..f7f5f6ef658 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -1698,9 +1698,14 @@ libwbclient: $(LIBWBCLIENT) installlibwbclient:: installdirs libwbclient @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR) - -$(INSTALLLIBCMD_SH) bin/libwbclient.@SHLIBEXT@ $(DESTDIR)$(LIBDIR) + -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR) + @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` + -if test -e $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \ + ln -s -f `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \ + $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \ + fi @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include - -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/nsswitch/libwbclient/wbclient.h $(DESTDIR)${prefix}/include + -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include #------------------------------------------------------------------- |