1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
diff -ruN newt-0.52.2-old/Makefile.in newt-0.52.2/Makefile.in
--- newt-0.52.2-old/Makefile.in 2006-09-29 14:28:59.000000000 +0100
+++ newt-0.52.2/Makefile.in 2006-09-29 14:45:16.000000000 +0100
@@ -1,5 +1,5 @@
-LIBS = -lslang -lm -ldl #-lefence
-SHLIBS = -lslang -lm -dl -lc
+LIBS = -lslang -ldl
+SHLIBS = -lslang
LIBTCL = -ltcl8.4
GPM_SUPPORT=@gpm_support@
@@ -71,15 +71,15 @@
if [ ! -f "$$ver/_snackmodule.so" -o $(LIBNEWTSH) -nt "$$ver/_snackmodule.so" ]; then \
mkdir -p $$ver ;\
$(CC) $(CFLAGS) -I/usr/include/$$ver -fPIC -c -o $$ver/snackmodule.o snackmodule.c ;\
- $(CC) --shared $(SHCFLAGS) -o $$ver/_snackmodule.so $$ver/snackmodule.o -L . -lnewt -lslang ;\
+ $(CC) --shared $(SHCFLAGS) -o $$ver/_snackmodule.so $$ver/snackmodule.o -L . -lnewt ;\
fi ; \
done
whiptail: $(NDIALOGOBJS) $(LIBNEWTSH)
- $(CC) -g -o whiptail $(NDIALOGOBJS) -L . -lnewt $(LIBS) -lpopt
+ $(CC) -g -o whiptail $(NDIALOGOBJS) -L . -lnewt -lpopt
whiptcl.so: $(WHIPTCLOBJS) $(LIBNEWTSH)
- $(CC) -shared $(SHCFLAGS) -o whiptcl.so $(WHIPTCLOBJS) -L . -lnewt $(LIBTCL) -lslang -lpopt -lm
+ $(CC) -shared $(SHCFLAGS) -o whiptcl.so $(WHIPTCLOBJS) -L . -lnewt $(LIBTCL) -lpopt
# Ensure dialogboxes is compiled -fPIC
dialogboxes.o: dialogboxes.c
|