From 72536a22e30682729b9f734a57e03c5281c5525e Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Thu, 13 May 2004 21:53:32 +0000 Subject: enable PIE build of usernetctl --- src/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 1c155765..7c1b87fa 100644 --- a/src/Makefile +++ b/src/Makefile @@ -62,9 +62,11 @@ usleep: $(USLEEP_OBJS) ppp-watch: $(PPPWATCH_OBJS) $(CC) $(LDFLAGS) -o $@ $(PPPWATCH_OBJS) -Wl,-Bstatic `pkg-config glib-2.0 --libs` -Wl,-Bdynamic +usernetctl: usernetctl.o + $(CC) $(LDFLAGS) -o $@ $< -pie + shvar.o: shvar.c $(CC) $(CFLAGS) `pkg-config glib-2.0 --cflags` -c shvar.c -o shvar.o ppp-watch.o: ppp-watch.c $(CC) $(CFLAGS) `pkg-config glib-2.0 --cflags` -c ppp-watch.c -o ppp-watch.o - -- cgit v1.2.1