[gnome-nibbles] Fix lib linking problem



commit 5c5cced0e55cb5d6882f4cf64605c0e3dc5174f3
Author: Iulian Radu <iulian radu67 gmail com>
Date:   Fri Jun 26 21:31:58 2015 +0300

    Fix lib linking problem

 src/Makefile.am |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 07183d3..a379e11 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,7 +12,7 @@ gnome_nibbles_SOURCES = \
        worm.vala \
        $(BUILT_SOURCES)
 
-gnome_nibbles_CFLAGS = -w `pkg-config --cflags glib-2.0` `pkg-config --cflags gtk+-3.0` `pkg-config --libs 
glib-2.0` `pkg-config --libs gtk+-3.0` `pkg-config --cflags clutter-1.0` `pkg-config --cflags 
clutter-gtk-1.0` `pkg-config --libs clutter-1.0` `pkg-config --libs clutter-gtk-1.0` `pkg-config --cflags 
gee-0.8` `pkg-config --libs gee-0.8`
+gnome_nibbles_CFLAGS = -w
 
 gnome_nibbles_CPPFLAGS = \
        -DVERSION=\"$(VERSION)\" \
@@ -33,6 +33,9 @@ gnome_nibbles_VALAFLAGS = \
        --gresources=$(builddir)/gnome-nibbles.gresource.xml \
        games-gridframe.vapi
 
+gnome_nibbles_LDADD = \
+       $(GNOME_NIBBLES_LIBS)
+
 gnome-nibbles-resources.c: gnome-nibbles.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) 
--generate-dependencies gnome-nibbles.gresource.xml)
        $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $<
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]