diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile index cd9c812b..a99a7ee2 100644 --- a/src/Makefile +++ b/src/Makefile @@ -46,17 +46,20 @@ install-test: install -m 755 testdinit $(ROOT)/etc/init.d/testd ipcalc: ipcalc.o - $(CC) $(LDFLAGS) -o $@ $< /usr/lib/libpopt.a + $(CC) $(LDFLAGS) -o $@ $< -Wl,-Bstatic -lpopt -Wl,-Bdynamic initlog: $(INITLOG_OBJS) - $(CC) $(LDFLAGS) -o $@ $(INITLOG_OBJS) /usr/lib/libpopt.a + $(CC) $(LDFLAGS) -o $@ $(INITLOG_OBJS) -Wl,-Bstatic -lpopt -Wl,-Bdynamic usleep: $(USLEEP_OBJS) - $(CC) $(LDFLAGS) -o $@ $(USLEEP_OBJS) /usr/lib/libpopt.a + $(CC) $(LDFLAGS) -o $@ $(USLEEP_OBJS) -Wl,-Bstatic -lpopt -Wl,-Bdynamic ppp-watch: $(PPPWATCH_OBJS) - $(CC) $(LDFLAGS) -o $@ $(PPPWATCH_OBJS) /usr/lib/libglib.a + $(CC) $(LDFLAGS) -o $@ $(PPPWATCH_OBJS) -Wl,-Bstatic -lglib -Wl,-Bdynamic + shvar.o: shvar.c $(CC) $(CFLAGS) `glib-config --cflags` -c shvar.c -o shvar.o + ppp-watch.o: ppp-watch.c $(CC) $(CFLAGS) `glib-config --cflags` -c ppp-watch.c -o ppp-watch.o + |