diff options
author | gbeauchesne <gbeauchesne@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2004-10-18 15:22:45 +0000 |
---|---|---|
committer | gbeauchesne <gbeauchesne@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2004-10-18 15:22:45 +0000 |
commit | 1af38b6db60e8061d1ef42c66506cc5e816e71cf (patch) | |
tree | c636b5cf79343ebc55c60c171a21ad15d0324643 /Makefile | |
parent | 41e3b12fb658e1ea4e3cc6210e0da86763cdbba9 (diff) | |
download | s2u-1af38b6db60e8061d1ef42c66506cc5e816e71cf.tar s2u-1af38b6db60e8061d1ef42c66506cc5e816e71cf.tar.gz s2u-1af38b6db60e8061d1ef42c66506cc5e816e71cf.tar.bz2 s2u-1af38b6db60e8061d1ef42c66506cc5e816e71cf.tar.xz s2u-1af38b6db60e8061d1ef42c66506cc5e816e71cf.zip |
use pkgconfig to get the right includes/libs for dbus-glib-1
git-svn-id: svn+ssh://svn.mandriva.com/svn/soft/s2u/trunk@179796 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -18,8 +18,8 @@ FILES = Makefile README hostname-post s2u.c s2u.sh s2u.spec \ DEFS = -DDBUS_API_SUBJECT_TO_CHANGE=1 CC = gcc CFLAGS = -O2 -pipe -Wall -Werror -INCLUDES = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -LDFLAGS = -ldbus-glib-1 -lglib-2.0 -ldbus-1 +INCLUDES = $(shell pkg-config dbus-glib-1 --cflags) +LDFLAGS = $(shell pkg-config dbus-glib-1 --libs) COMPILE = $(CC) $(DEFS) $(CFLAGS) |