summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2003-04-14 07:48:44 +0000
committerMartin Pool <mbp@samba.org>2003-04-14 07:48:44 +0000
commit3aaee9fea9a2a5f3d28f56d0041d466046eb7fe2 (patch)
tree4fefda626264095f71aa2ee27bef0bb8cf36319a /source3
parent4dc97bea8baa5ea545b29d02061656eede309930 (diff)
downloadsamba-3aaee9fea9a2a5f3d28f56d0041d466046eb7fe2.tar.gz
samba-3aaee9fea9a2a5f3d28f56d0041d466046eb7fe2.tar.bz2
samba-3aaee9fea9a2a5f3d28f56d0041d466046eb7fe2.zip
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)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in2
1 files changed, 2 insertions, 0 deletions
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