summaryrefslogtreecommitdiffstats
path: root/ulogd
diff options
context:
space:
mode:
authorlaforge <laforge>2003-08-11 19:46:36 +0000
committerlaforge <laforge>2003-08-11 19:46:36 +0000
commit658d56cd5cbee4ba2deae13aaea8e34d6c1a29d2 (patch)
treef0a569e887d52a496a20f6282c62f26ca1853b2a /ulogd
parenta8397d5de3624b22725526890282338c78205d2f (diff)
explicitly link against dynamic libs (Joerg Wendland)
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 $<