From 867be167f5f34ea32a48b61ac4928514acd8d15c Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Mon, 24 Jul 2017 23:26:27 +0200 Subject: [PATCH] Always use libDesktop to find Gtk+ These tools are not installed anyway, so this does not add bloat. --- tools/project.conf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tools/project.conf b/tools/project.conf index 9a53391..3db3dba 100644 --- a/tools/project.conf +++ b/tools/project.conf @@ -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]