From: Tom Rini Date: Wed, 14 Oct 2009 18:27:27 +0000 (-0700) Subject: Use LDFLAGS not CFLAGS to add libraries for linking X-Git-Tag: Release-2010-05/1~2090 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38705be757c181061380807c25fbe88363a107a2;p=openembedded.git Use LDFLAGS not CFLAGS to add libraries for linking --- 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