From 658d56cd5cbee4ba2deae13aaea8e34d6c1a29d2 Mon Sep 17 00:00:00 2001 From: laforge Date: Mon, 11 Aug 2003 19:46:36 +0000 Subject: explicitly link against dynamic libs (Joerg Wendland) --- ulogd/extensions/Makefile.in | 2 +- ulogd/mysql/Makefile.in | 2 +- ulogd/pcap/Makefile.in | 2 +- ulogd/pgsql/Makefile.in | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ulogd') 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 $< -- cgit v1.2.3