summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2009-10-14 11:27:27 -0700
committerTom Rini <trini@embeddedalley.com>2009-10-14 11:27:27 -0700
commit38705be757c181061380807c25fbe88363a107a2 (patch)
treeae8078eb541717d21824d255de3f72b1c9fcac4a
parent60f7dc1ccfe9dfceddb69ded7dd28351519fe3aa (diff)
Use LDFLAGS not CFLAGS to add libraries for linking
-rw-r--r--recipes/gnome/gnome-control-center_2.28.0.bb2
-rw-r--r--recipes/gnome/gnome-games_2.24.0.bb2
-rw-r--r--recipes/gnome/gnome-settings-daemon_2.28.0.bb2
-rw-r--r--recipes/gnome/gnome-system-tools_2.27.1.bb2
4 files changed, 4 insertions, 4 deletions
diff --git a/recipes/gnome/gnome-control-center_2.28.0.bb b/recipes/gnome/gnome-control-center_2.28.0.bb
index 5cbe7686ae..61d130ac89 100644
--- a/recipes/gnome/gnome-control-center_2.28.0.bb
+++ b/recipes/gnome/gnome-control-center_2.28.0.bb
@@ -7,7 +7,7 @@ DEPENDS = "metacity eel gstreamer libcanberra gnome-settings-daemon libgnomeui g
inherit gnome
-CFLAGS += "-lgthread-2.0 -lxml2"
+LDFLAGS += "-lgthread-2.0 -lxml2"
do_configure_prepend() {
sed -i s:help::g Makefile.am
diff --git a/recipes/gnome/gnome-games_2.24.0.bb b/recipes/gnome/gnome-games_2.24.0.bb
index 6449c82c8a..b4e7cf43c9 100644
--- a/recipes/gnome/gnome-games_2.24.0.bb
+++ b/recipes/gnome/gnome-games_2.24.0.bb
@@ -36,7 +36,7 @@ do_install_append() {
install -m 0644 ${D}/${datadir}/icons/hicolor/48x48/apps/* ${D}/${datadir}/pixmaps
}
-CFLAGS_append = " -lguile -lgmp -lcrypt -lm -lltdl"
+LDFLAGS += "-lguile -lgmp -lcrypt -lm -lltdl"
FILES_${PN}-doc += " ${datadir}/gnome/help"
FILES_${PN}-dbg += " ${bindir}/.debug ${libdir}/gnome-games/.debug"
diff --git a/recipes/gnome/gnome-settings-daemon_2.28.0.bb b/recipes/gnome/gnome-settings-daemon_2.28.0.bb
index 23f47771d8..43585f3425 100644
--- a/recipes/gnome/gnome-settings-daemon_2.28.0.bb
+++ b/recipes/gnome/gnome-settings-daemon_2.28.0.bb
@@ -6,7 +6,7 @@ DEPENDS = "libxklavier libgnomekbd libgnomeui gnome-desktop gnome-doc-utils gtk+
inherit gnome
-CFLAGS += "-lgthread-2.0"
+LDFLAGS += "-lgthread-2.0"
FILES_${PN} += "${libdir}/gnome-settings-daemon-2.0/*.so \
${libdir}/gnome-settings-daemon-2.0/*plugin \
diff --git a/recipes/gnome/gnome-system-tools_2.27.1.bb b/recipes/gnome/gnome-system-tools_2.27.1.bb
index 29119849f3..55bb3e608c 100644
--- a/recipes/gnome/gnome-system-tools_2.27.1.bb
+++ b/recipes/gnome/gnome-system-tools_2.27.1.bb
@@ -6,7 +6,7 @@ inherit gnome pkgconfig
EXTRA_OECONF = "--disable-scrollkeeper \
"
-CFLAGS += "-lgthread-2.0"
+LDFLAGS += "-lgthread-2.0"
do_configure_prepend () {
for i in $(find . -name "Makefile.in") ; do