summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2003-03-18 05:37:23 +0000
committerMartin Pool <mbp@samba.org>2003-03-18 05:37:23 +0000
commit29fa4c1631d70daf564a52cf23740c6e1b5316f6 (patch)
tree3604a2deede5dd1d565be43db03da03374496db9 /source3
parent2f07f71d787dc2dfcefac6a1f723c2cde76d4884 (diff)
downloadsamba-29fa4c1631d70daf564a52cf23740c6e1b5316f6.tar.gz
samba-29fa4c1631d70daf564a52cf23740c6e1b5316f6.tar.bz2
samba-29fa4c1631d70daf564a52cf23740c6e1b5316f6.zip
Remove static libbigballofmud, which just does not seem to link.
Add bin/t_stringoverflow test case. Not built by default. (This used to be commit 7741bb8d18e7ba16522c00513174f2909d75535d)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 40abe5d71b..a2290e8f57 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -894,9 +894,10 @@ bin/libbigballofmud.@SHLIBEXT@: $(LIBBIGBALLOFMUD_PICOBJS)
$(SHLD) $(LDSHFLAGS) -o $@ $(LIBBIGBALLOFMUD_PICOBJS) $(LIBS) \
@SONAMEFLAG@`basename $@`.$(LIBBIGBALLOFMUD_MAJOR)
-bin/libbigballofmud.a: $(LIBBIGBALLOFMUD_OBJS)
- @echo Linking bigballofmud non-shared library $@
- -$(AR) -rc $@ $(LIBBIGBALLOFMUD_OBJS)
+# 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
+# if it can be fixed or if they just can't be called from a static
+# library.
libsmbclient: $(LIBSMBCLIENT)
@@ -1027,6 +1028,9 @@ bin/tdbbackup@EXEEXT@: $(TDBBACKUP_OBJ) bin/.dummy
@echo Linking $@
@$(CC) $(FLAGS) -o $@ $(TDBBACKUP_OBJ)
+bin/t_stringoverflow: bin/libbigballofmud.@SHLIBEXT@ torture/t_stringoverflow.o
+ $(CC) $(FLAGS) -o $@ torture/t_stringoverflow.o -L./bin -lbigballofmud
+
install: installbin installman installscripts installdat installswat
# DESTDIR is used here to prevent packagers wasting their time