From: Peter Meiser Date: Tue, 24 Apr 2012 09:27:33 +0000 (-0600) Subject: contrib: Fix pppgetpass.gtk compilation X-Git-Tag: ppp-2.4.7~38 X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=80a8e2ce257ca12cce723519a0f20ea1d663b14a;p=ppp.git contrib: Fix pppgetpass.gtk compilation We need to use pkg-config not gtk-config these days. Signed-off-by: Paul Mackerras --- diff --git a/contrib/pppgetpass/Makefile.linux b/contrib/pppgetpass/Makefile.linux index 7eb217d..eb16f5b 100644 --- a/contrib/pppgetpass/Makefile.linux +++ b/contrib/pppgetpass/Makefile.linux @@ -3,9 +3,9 @@ all: pppgetpass.vt pppgetpass.gtk pppgetpass.vt: pppgetpass.vt.o pppgetpass.gtk: pppgetpass.gtk.o - $(CC) $(LDFLAGS) pppgetpass.gtk.o `gtk-config --libs` -o pppgetpass.gtk + $(CC) $(LDFLAGS) pppgetpass.gtk.o -o pppgetpass.gtk `pkg-config --libs glib-2.0 gtk+-2.0` pppgetpass.gtk.o: pppgetpass.gtk.c - $(CC) $(CFLAGS) -c pppgetpass.gtk.c `gtk-config --cflags` + $(CC) $(CFLAGS) -c pppgetpass.gtk.c `pkg-config --cflags glib-2.0 gtk+-2.0` install: all install -m 755 pppgetpass.sh /usr/bin/pppgetpass