summaryrefslogtreecommitdiffstats
path: root/ulogd
diff options
context:
space:
mode:
Diffstat (limited to 'ulogd')
-rw-r--r--ulogd/extensions/Makefile.in2
-rw-r--r--ulogd/mysql/Makefile.in2
-rw-r--r--ulogd/pcap/Makefile.in2
-rw-r--r--ulogd/pgsql/Makefile.in2
4 files changed, 4 insertions, 4 deletions
diff --git a/ulogd/extensions/Makefile.in b/ulogd/extensions/Makefile.in
index b25baea..260e75b 100644
--- a/ulogd/extensions/Makefile.in
+++ b/ulogd/extensions/Makefile.in
@@ -15,7 +15,7 @@ all: $(SHARED_LIBS)
distrib:
$(SHARED_LIBS): %.so: %_sh.o
- ld -shared -o $@ $<
+ ld -shared -o $@ $< -lc
%_sh.o: %.c
$(CC) $(SH_CFLAGS) -o $@ -c $<
diff --git a/ulogd/mysql/Makefile.in b/ulogd/mysql/Makefile.in
index 7e4184b..ed6003f 100644
--- a/ulogd/mysql/Makefile.in
+++ b/ulogd/mysql/Makefile.in
@@ -14,7 +14,7 @@ all: $(SHARED_LIBS)
distrib:
$(SHARED_LIBS): %.so: %_sh.o
- ld -shared $(MYSQL_LDFLAGS) -o $@ $<
+ ld -shared $(MYSQL_LDFLAGS) -o $@ $< -lc
%_sh.o: %.c
$(CC) $(MYSQL_CFLAGS) $(SH_CFLAGS) -o $@ -c $<
diff --git a/ulogd/pcap/Makefile.in b/ulogd/pcap/Makefile.in
index edbdbdf..76d4caa 100644
--- a/ulogd/pcap/Makefile.in
+++ b/ulogd/pcap/Makefile.in
@@ -14,7 +14,7 @@ all: $(SHARED_LIBS)
distrib:
$(SHARED_LIBS): %.so: %_sh.o
- ld -shared -o $@ $<
+ ld -shared -o $@ $< -lc -lpcap
%_sh.o: %.c
$(CC) $(SH_CFLAGS) -o $@ -c $<
diff --git a/ulogd/pgsql/Makefile.in b/ulogd/pgsql/Makefile.in
index c42514a..5551cf4 100644
--- a/ulogd/pgsql/Makefile.in
+++ b/ulogd/pgsql/Makefile.in
@@ -14,7 +14,7 @@ all: $(SHARED_LIBS)
distrib:
$(SHARED_LIBS): %.so: %_sh.o
- ld -shared $(PGSQL_LDFLAGS) -o $@ $<
+ ld -shared $(PGSQL_LDFLAGS) -o $@ $< -lc
%_sh.o: %.c
$(CC) $(PGSQL_CFLAGS) $(SH_CFLAGS) -o $@ -c $<