Hint the possibility to build with Gtk+ 3.0
This commit is contained in:
parent
c00e8bbece
commit
854cecfc98
|
@ -1,6 +1,8 @@
|
||||||
targets=camera
|
targets=camera
|
||||||
|
#cflags_force=-W `pkg-config --cflags libDesktop gtk+-x11-3.0`
|
||||||
cflags_force=-W `pkg-config --cflags libDesktop`
|
cflags_force=-W `pkg-config --cflags libDesktop`
|
||||||
cflags=-Wall -g -O2
|
cflags=-Wall -g -O2
|
||||||
|
#ldflags_force=`pkg-config --libs libDesktop gtk+-x11-3.0` -lintl
|
||||||
ldflags_force=`pkg-config --libs libDesktop` -lintl
|
ldflags_force=`pkg-config --libs libDesktop` -lintl
|
||||||
dist=Makefile,camera.h,overlay.h,window.h
|
dist=Makefile,camera.h,overlay.h,window.h
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#include <libintl.h>
|
#include <libintl.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h> /* for GTK_CHECK_VERSION */
|
||||||
#include "../config.h"
|
#include "../config.h"
|
||||||
#define _(string) gettext(string)
|
#define _(string) gettext(string)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
targets=gallery
|
targets=gallery
|
||||||
|
#cflags_force=-W `pkg-config --cflags gtk+-3.0`
|
||||||
cflags_force=-W `pkg-config --cflags gtk+-2.0`
|
cflags_force=-W `pkg-config --cflags gtk+-2.0`
|
||||||
cflags=-Wall -g -O2
|
cflags=-Wall -g -O2
|
||||||
|
#ldflags=`pkg-config --libs glib-3.0`
|
||||||
ldflags=`pkg-config --libs glib-2.0`
|
ldflags=`pkg-config --libs glib-2.0`
|
||||||
dist=Makefile
|
dist=Makefile
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user