Always use libDesktop to find Gtk+

These tools are not installed anyway, so this does not add bloat.
This commit is contained in:
Pierre Pronchery 2017-07-24 23:26:27 +02:00
parent c5d21d0f71
commit 867be167f5

View File

@ -1,12 +1,8 @@
targets=dirtree,iconlist
cflags_force=`pkg-config --cflags libDesktop`
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags_force=`pkg-config --libs libDesktop`
ldflags=-pie -Wl,-z,relro -Wl,-z,now
#for Gtk+ 2
cflags_force=`pkg-config --cflags gtk+-2.0`
ldflags_force=`pkg-config --libs gtk+-2.0`
#for Gtk+ 3
#cflags_force=`pkg-config --cflags gtk+-3.0`
#ldflags_force=`pkg-config --libs gtk+-3.0`
dist=Makefile,subst.sh
[dirtree]