Remove static libbigballofmud, which just does not seem to link.
authorMartin Pool <mbp@samba.org>
Tue, 18 Mar 2003 05:37:23 +0000 (05:37 +0000)
committerMartin Pool <mbp@samba.org>
Tue, 18 Mar 2003 05:37:23 +0000 (05:37 +0000)
Add bin/t_stringoverflow test case.  Not built by default.
(This used to be commit 7741bb8d18e7ba16522c00513174f2909d75535d)

source3/Makefile.in

index 40abe5d71bd8c7b00a3f4ba6d8e3b49aab910128..a2290e8f57181deea1487625c03cc56530a89723 100644 (file)
@@ -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