From: ewt Date: Thu, 9 Mar 2000 14:51:30 +0000 (+0000) Subject: build whiptcl and snack -fPIC X-Git-Tag: r0-50-9~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59fa7c800592a0a5a863a1e380931608a578e502;p=thirdparty%2Fnewt.git build whiptcl and snack -fPIC --- diff --git a/Makefile.in b/Makefile.in index 3bee9f9..f61c31c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -58,7 +58,7 @@ testtree: testtree.o $(LIBNEWT) gcc -g -o testtree testtree.o $(LIBNEWT) $(LIBS) _snackmodule.so: snackmodule.o $(LIBNEWTSH) - gcc --shared -o _snackmodule.so snackmodule.o -L . $(LIBNEWTSH) + gcc --shared $(SHCFLAGS) -o _snackmodule.so snackmodule.o -L . $(LIBNEWTSH) snackmodule.o: snackmodule.c gcc -I/usr/include/python1.5 -fPIC $(CFLAGS) -c snackmodule.c @@ -67,7 +67,7 @@ whiptail: $(NDIALOGOBJS) $(LIBNEWTSH) gcc -g -o whiptail $(NDIALOGOBJS) -L . $(LIBNEWTSH) $(LIBS) -lpopt whiptcl.so: $(WHIPTCLOBJS) $(LIBNEWTSH) - gcc -shared -o whiptcl.so $(WHIPTCLOBJS) -L . $(LIBNEWTSH) -ltcl -lslang -lpopt -lm + gcc -shared $(SHCFLAGS) -o whiptcl.so $(WHIPTCLOBJS) -L . $(LIBNEWTSH) -ltcl -lslang -lpopt -lm $(LIBNEWT): $(LIBNEWT)($(LIBOBJS))