aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-05-23 18:52:26 +0000
committerBill Nottingham <notting@redhat.com>2006-05-23 18:52:26 +0000
commit924b53cf8d96c455b0f5bda3e7577d9c74b6ae00 (patch)
treefa9c88359012a90272bd075c807769de9a034bae /src
parentd569504b7bd42837232c489534fdc4636cf5f8bf (diff)
downloadinitscripts-924b53cf8d96c455b0f5bda3e7577d9c74b6ae00.tar
initscripts-924b53cf8d96c455b0f5bda3e7577d9c74b6ae00.tar.gz
initscripts-924b53cf8d96c455b0f5bda3e7577d9c74b6ae00.tar.bz2
initscripts-924b53cf8d96c455b0f5bda3e7577d9c74b6ae00.tar.xz
initscripts-924b53cf8d96c455b0f5bda3e7577d9c74b6ae00.zip
link glib2 dynamically again now that it's in /lib
Diffstat (limited to 'src')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 84d6d439..ba7843df 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -59,7 +59,7 @@ usleep: $(USLEEP_OBJS)
$(CC) $(LDFLAGS) -o $@ $(USLEEP_OBJS) -Wl,-Bstatic -lpopt -Wl,-Bdynamic
ppp-watch: $(PPPWATCH_OBJS)
- $(CC) $(LDFLAGS) -o $@ $(PPPWATCH_OBJS) -Wl,-Bstatic `pkg-config glib-2.0 --libs` -Wl,-Bdynamic
+ $(CC) $(LDFLAGS) -o $@ $(PPPWATCH_OBJS) $(pkg-config glib-2.0 --libs)
usernetctl.o: usernetctl.c
$(CC) $(CFLAGS) -fPIE -c usernetctl.c -o usernetctl.o
@@ -74,7 +74,7 @@ ppp-watch.o: ppp-watch.c
$(CC) $(CFLAGS) `pkg-config glib-2.0 --cflags` -c ppp-watch.c -o ppp-watch.o
rename_device: rename_device.c
- $(CC) $(CFLAGS) `pkg-config glib-2.0 --cflags` -o $@ $< -Wl,-Bstatic `pkg-config glib-2.0 --libs` -Wl,-Bdynamic
+ $(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