Always use libDesktop to find Gtk+
These tools are not installed anyway, so this does not add bloat.
This commit is contained in:
parent
c5d21d0f71
commit
867be167f5
@ -1,12 +1,8 @@
|
|||||||
targets=dirtree,iconlist
|
targets=dirtree,iconlist
|
||||||
|
cflags_force=`pkg-config --cflags libDesktop`
|
||||||
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
|
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
|
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
|
dist=Makefile,subst.sh
|
||||||
|
|
||||||
[dirtree]
|
[dirtree]
|
||||||
|
Loading…
Reference in New Issue
Block a user