From 3aaee9fea9a2a5f3d28f56d0041d466046eb7fe2 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Mon, 14 Apr 2003 07:48:44 +0000 Subject: Make a libbigballofmud.so.0 link, so that the linker can find the library to build the test cases. Previously the link had to be created by hand. Doing this manually is incredibly kludgy and not very portable, but I don't know a better way without introducing l*bt**l. (This used to be commit 8fbe456ee34af163dddb1e6e4816ff7be4ca48f1) --- source3/Makefile.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3') diff --git a/source3/Makefile.in b/source3/Makefile.in index fd640a19a5..7509edef78 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -907,10 +907,12 @@ bin/libsmbclient.a: $(LIBSMBCLIENT_PICOBJS) @echo Linking libsmbclient non-shared library $@ @-$(AR) -rc $@ $(LIBSMBCLIENT_PICOBJS) +# This is probably wrong for anything other than the GNU linker. bin/libbigballofmud.@SHLIBEXT@: $(LIBBIGBALLOFMUD_PICOBJS) @echo Linking bigballofmud shared library $@ @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBBIGBALLOFMUD_PICOBJS) $(LIBS) \ @SONAMEFLAG@`basename $@`.$(LIBBIGBALLOFMUD_MAJOR) $(PASSDBLIBS) $(ADSLIBS) + ln -snf libbigballofmud.so bin/libbigballofmud.so.0 # It would be nice to build a static bigballofmud too, but when I try # I get linker errors about dl_open and similar things. I'm not sure -- cgit