This commit is contained in:
llsth 2015-08-15 01:01:30 +02:00
parent 32cd7febe0
commit 26d8fb5108
3 changed files with 5 additions and 2 deletions

View File

@ -27,7 +27,7 @@ socket4.o: socket4.c config.h fping.h
fping: fping.o fping_amiga.o inet_getaddrinfo.o inet_ntop.o inet_pton.o seqmap.o socket.o socket4.o
${CC} ${CFLAGS} -o fping fping.o fping_amiga.o inet_getaddrinfo.o inet_ntop.o inet_pton.o seqmap.o socket.o socket4.o ${LDLIBS}
${CC} ${CFLAGS} -s -o fping fping.o fping_amiga.o inet_getaddrinfo.o inet_ntop.o inet_pton.o seqmap.o socket.o socket4.o ${LDLIBS}
clean:
rm -f fping.o fping_amiga.o inet_getaddrinfo.o inet_ntop.o inet_pton.o seqmap.o socket.o socket4.o fping

2
src/configure vendored
View File

@ -106,7 +106,7 @@ if $VALID ; then
echo
echo "fping: ${l}"
echo " \${CC} \${CFLAGS} -o fping ${l} \${LDLIBS}"
echo " \${CC} \${CFLAGS} -s -o fping ${l} \${LDLIBS}"
echo
echo "clean:"
echo " rm -f ${l} fping"

View File

@ -14,6 +14,9 @@
#define BSDLIB_NAME "bsdsocket.library"
#define BSDLIB_REV 03L
#include "config.h"
const char *vers = "\0$VER: " PACKAGE_NAME " " PACKAGE_VERSION " (15.08.2015)";
#include <unistd.h>
uid_t getuid () {
return 1;