aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-01-14 02:33:32 +0000
committerBill Nottingham <notting@redhat.com>2003-01-14 02:33:32 +0000
commitf6ba643145c69dc4b9d6233825276b94fc81597a (patch)
tree300a8898b734e456edd9a0181f32b643c19a4e5e /src/Makefile
parent5eb109e193830a95d353593be0b69efe2e910cc4 (diff)
downloadinitscripts-f6ba643145c69dc4b9d6233825276b94fc81597a.tar
initscripts-f6ba643145c69dc4b9d6233825276b94fc81597a.tar.gz
initscripts-f6ba643145c69dc4b9d6233825276b94fc81597a.tar.bz2
initscripts-f6ba643145c69dc4b9d6233825276b94fc81597a.tar.xz
initscripts-f6ba643145c69dc4b9d6233825276b94fc81597a.zip
use glib2 instead of glib (#78690, <kisch@mindless.com>)
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index a99a7ee2..78039b5a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -55,11 +55,11 @@ usleep: $(USLEEP_OBJS)
$(CC) $(LDFLAGS) -o $@ $(USLEEP_OBJS) -Wl,-Bstatic -lpopt -Wl,-Bdynamic
ppp-watch: $(PPPWATCH_OBJS)
- $(CC) $(LDFLAGS) -o $@ $(PPPWATCH_OBJS) -Wl,-Bstatic -lglib -Wl,-Bdynamic
+ $(CC) $(LDFLAGS) -o $@ $(PPPWATCH_OBJS) -Wl,-Bstatic `pkg-config glib-2.0 --libs` -Wl,-Bdynamic
shvar.o: shvar.c
- $(CC) $(CFLAGS) `glib-config --cflags` -c shvar.c -o shvar.o
+ $(CC) $(CFLAGS) `pkg-config glib-2.0 --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
+ $(CC) $(CFLAGS) `pkg-config glib-2.0 --cflags` -c ppp-watch.c -o ppp-watch.o