blob: 09220f4bc9cfad4635f510a3380dfae86a736ea4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- src/makefiles/common.orig Sun Oct 3 21:51:35 1999
+++ src/makefiles/common Wed Oct 20 20:35:25 1999
@@ -48,7 +48,11 @@
${CC} ${LFLAGS} -o $@ ${UTIL_OBJS} ftprestart.o rdservers.o ${XLIBS}
ftpd: ${OBJS} ${XOBJS} ../support/libsupport.a
+.if defined(PACKAGE_BUILDING)
${CC} ${LFLAGS} -o $@ ${OBJS} ${XOBJS} ${XLIBS}
+.else
+ ${CC} -static ${LFLAGS} -o $@ ${OBJS} ${XOBJS} ${XLIBS}
+.endif
ckconfig: ${UTIL_OBJS} ckconfig.o rdservers.o
${CC} ${LFLAGS} -o $@ ${UTIL_OBJS} ckconfig.o rdservers.o ${XLIBS}
|