summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-11-28 00:25:47 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:37 +0100
commite12c724f07f087bb969ca4fb3639a77b78858de6 (patch)
treefea20c41503d50b1cb551b363f997bcbb6db70d0
parent8e37dc8c9ee2950c94ab196b4d323d51d74dcc7f (diff)
downloadsamba-e12c724f07f087bb969ca4fb3639a77b78858de6.tar.gz
samba-e12c724f07f087bb969ca4fb3639a77b78858de6.tar.bz2
samba-e12c724f07f087bb969ca4fb3639a77b78858de6.zip
r26179: Fix symlink.
(This used to be commit b25d0201da5c02bba3046caa539b3ecb72d3a635)
-rw-r--r--source4/lib/ldb/Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in
index 53d59fd6c2..23a89c98c6 100644
--- a/source4/lib/ldb/Makefile.in
+++ b/source4/lib/ldb/Makefile.in
@@ -18,6 +18,7 @@ SLAPD = @SLAPD@
SWIG = swig
EXTRA_OBJ=@EXTRA_OBJ@
TESTS=test-tdb.sh @TESTS@
+PACKAGE_VERSION = @PACKAGE_VERSION@
TALLOC_LIBS = @TALLOC_LIBS@
TALLOC_CFLAGS = @TALLOC_CFLAGS@
@@ -99,14 +100,14 @@ nssdir:
@mkdir -p $(NSSDIR)
SONAME = libldb.$(SHLIBEXT).0
-SOLIB = lib/libldb.$(SHLIBEXT).0.9.0
+SOLIB = lib/libldb.$(SHLIBEXT).$(PACKAGE_VERSION)
STATICLIB = lib/libldb.a
lib/$(SONAME): $(SOLIB)
- ln -fs $< $@
+ ln -fs libldb.$(SHLIBEXT).$(PACKAGE_VERSION) $@
lib/libldb.$(SHLIBEXT): $(SOLIB)
- ln -fs $< $@
+ ln -fs libldb.$(SHLIBEXT).$(PACKAGE_VERSION) $@
$(SOLIB): $(OBJS)
$(SHLD) $(SHLD_FLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LIBS) $(TALLOC_LIBS) $(TDB_LIBS) $(LIBDL) $(LDAP_LIBS) @SONAMEFLAG@$(SONAME)