]> git.openpandora.org Git - openembedded.git/commitdiff
Use LDFLAGS not CFLAGS to add libraries for linking
authorTom Rini <trini@embeddedalley.com>
Wed, 14 Oct 2009 18:27:27 +0000 (11:27 -0700)
committerTom Rini <trini@embeddedalley.com>
Wed, 14 Oct 2009 18:27:27 +0000 (11:27 -0700)
recipes/gnome/gnome-control-center_2.28.0.bb
recipes/gnome/gnome-games_2.24.0.bb
recipes/gnome/gnome-settings-daemon_2.28.0.bb
recipes/gnome/gnome-system-tools_2.27.1.bb

index 5cbe7686ae0dc8feb0bf7383d6e9c040ae87639b..61d130ac89f91ff008c16202e634abf77a5e543a 100644 (file)
@@ -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
index 6449c82c8ae6a2bc3c621df4298b100cf158faa7..b4e7cf43c9563a1dc78b59c41a1290034b41f023 100644 (file)
@@ -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"
index 23f47771d8bfc7dcf3ce9136c1ae331eeb93d875..43585f342523dafe0e9326024aa67b37757974a2 100644 (file)
@@ -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 \
index 29119849f3c4d17184498df861efb106ca7ec785..55bb3e608cabe6f0053f5c1c63ca7418e67c1d28 100644 (file)
@@ -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