Clarify build with Gtk+ 3
This commit is contained in:
parent
ef0a1efb4b
commit
cc5dc128c3
|
@ -2,10 +2,10 @@ targets=camera
|
||||||
cflags_force=-W `pkg-config --cflags libDesktop`
|
cflags_force=-W `pkg-config --cflags libDesktop`
|
||||||
cflags=-Wall -g -O2 -pedantic -fstack-protector -fPIE
|
cflags=-Wall -g -O2 -pedantic -fstack-protector -fPIE
|
||||||
ldflags_force=`pkg-config --libs libDesktop` -lintl
|
ldflags_force=`pkg-config --libs libDesktop` -lintl
|
||||||
|
ldflags=-Wl,-pie
|
||||||
#for Gtk+ 3
|
#for Gtk+ 3
|
||||||
#cflags_force=-W `pkg-config --cflags libDesktop gtk+-x11-3.0`
|
#cflags_force=-W `pkg-config --cflags libDesktop gtk+-x11-3.0`
|
||||||
#ldflags_force=`pkg-config --libs libDesktop gtk+-x11-3.0` -lintl
|
#ldflags_force=`pkg-config --libs libDesktop gtk+-x11-3.0` -lintl
|
||||||
ldflags=-Wl,-pie
|
|
||||||
dist=Makefile,camera.h,overlay.h,window.h
|
dist=Makefile,camera.h,overlay.h,window.h
|
||||||
|
|
||||||
[camera]
|
[camera]
|
||||||
|
|
|
@ -2,9 +2,9 @@ targets=gallery
|
||||||
cflags_force=-W `pkg-config --cflags gtk+-2.0`
|
cflags_force=-W `pkg-config --cflags gtk+-2.0`
|
||||||
cflags=-Wall -g -O2 -pedantic -fstack-protector -fPIE
|
cflags=-Wall -g -O2 -pedantic -fstack-protector -fPIE
|
||||||
ldflags_force=`pkg-config --libs glib-2.0`
|
ldflags_force=`pkg-config --libs glib-2.0`
|
||||||
|
ldflags=-Wl,-pie
|
||||||
#for Gtk+ 3
|
#for Gtk+ 3
|
||||||
#cflags_force=-W `pkg-config --cflags gtk+-3.0`
|
#cflags_force=-W `pkg-config --cflags gtk+-3.0`
|
||||||
ldflags=-Wl,-pie
|
|
||||||
dist=Makefile
|
dist=Makefile
|
||||||
|
|
||||||
[gallery]
|
[gallery]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user