aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-08-29 14:53:12 +0000
committerBill Nottingham <notting@redhat.com>2007-08-29 14:53:12 +0000
commitf0258d6553a3037824f538c997f964987c10c337 (patch)
tree1f8ad84407773eeda2d3c338adeb8754aeb179e1 /src
parent9bee75bc8abbefd1319a7079c03e08ff11fa4849 (diff)
downloadinitscripts-f0258d6553a3037824f538c997f964987c10c337.tar
initscripts-f0258d6553a3037824f538c997f964987c10c337.tar.gz
initscripts-f0258d6553a3037824f538c997f964987c10c337.tar.bz2
initscripts-f0258d6553a3037824f538c997f964987c10c337.tar.xz
initscripts-f0258d6553a3037824f538c997f964987c10c337.zip
require popt in /lib*, link it dynamically
Diffstat (limited to 'src')
-rw-r--r--src/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Makefile b/src/Makefile
index 5a6e171f..df4f6bd4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -48,16 +48,16 @@ install-test:
install -m 755 testdinit $(ROOT)/etc/init.d/testd
getkey: getkey.o
- $(CC) $(LDFLAGS) -o $@ $< -Wl,-Bstatic -lpopt -Wl,-Bdynamic
+ $(CC) $(LDFLAGS) -o $@ $< -lpopt
ipcalc: ipcalc.o
- $(CC) $(LDFLAGS) -o $@ $< -Wl,-Bstatic -lpopt -Wl,-Bdynamic
+ $(CC) $(LDFLAGS) -o $@ $< -lpopt
initlog: $(INITLOG_OBJS)
- $(CC) $(LDFLAGS) -o $@ $(INITLOG_OBJS) -Wl,-Bstatic -lpopt -Wl,-Bdynamic
+ $(CC) $(LDFLAGS) -o $@ $(INITLOG_OBJS) -lpopt
usleep: $(USLEEP_OBJS)
- $(CC) $(LDFLAGS) -o $@ $(USLEEP_OBJS) -Wl,-Bstatic -lpopt -Wl,-Bdynamic
+ $(CC) $(LDFLAGS) -o $@ $(USLEEP_OBJS) -lpopt
ppp-watch: $(PPPWATCH_OBJS)
$(CC) $(LDFLAGS) -o $@ $(PPPWATCH_OBJS) `pkg-config glib-2.0 --libs`
@@ -78,4 +78,4 @@ rename_device: rename_device.c
$(CC) $(CFLAGS) `pkg-config glib-2.0 --cflags` -o $@ $< `pkg-config glib-2.0 --libs`
kmodule: kmodule.o
- $(CC) $(LDFLAGS) -o $@ $< -Wl,-Bstatic -lpopt -Wl,-Bdynamic -lkudzu -lpci
+ $(CC) $(LDFLAGS) -o $@ $< -lpopt -lkudzu -lpci