summaryrefslogtreecommitdiff
path: root/databases/openldap/patches/patch-ab
blob: 53bec849992710068b7cd156eafa1fb0ae249699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ab,v 1.1 1999/05/04 00:08:43 tv Exp $

--- build/lib-shared.mk.orig	Mon May  3 19:21:39 1999
+++ build/lib-shared.mk	Mon May  3 19:24:56 1999
@@ -18,9 +18,10 @@
 
 $(LIBRARY):  version.lo
 	$(LINK) -rpath $(libdir) -o $@ $(OBJS) version.lo
-	$(RM) ../$@;	\
-	(d=`$(PWD)` ; $(LN_S) `$(BASENAME) $$d`/$@ ../$@)
-	$(RM) ../`$(BASENAME) $@ .la`.a;	\
-	(d=`$(PWD)`; t=`$(BASENAME) $@ .la`.a; $(LN_S) `$(BASENAME) $$d`/.libs/$$t ../$$t)
+	@$(RM) ../$@
+	@for ext in a so so.1.0; do \
+	$(RM) ../`$(BASENAME) $@ .la`.$$ext;	\
+	(d=`$(PWD)`; t=`$(BASENAME) $@ .la`.$$ext; $(LN_S) `$(BASENAME) $$d`/.libs/$$t ../$$t); \
+	done
 
 Makefile: $(top_srcdir)/build/lib-shared.mk