summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)