gcc-package.inc: Override SHLIBSDIR since gcc is a very special case
authorRichard Purdie <rpurdie@rpsys.net>
Tue, 19 Feb 2008 12:36:34 +0000 (12:36 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Tue, 19 Feb 2008 12:36:34 +0000 (12:36 +0000)
packages/gcc/gcc-package.inc

index d1b4607..3d57d01 100644 (file)
@@ -12,6 +12,10 @@ PACKAGES = "libgcc ${PN} ${PN}-symlinks \
            libstdc++-dev libg2c-dev \
             ${PN}-doc"
 
+# We really need HOST_SYS here for some packages and TARGET_SYS for others.
+# For now, libgcc is most important so we fix for that - RP.
+SHLIBSDIR = "${STAGING_DIR}/${TARGET_SYS}/shlibs"
+
 FILES_${PN} = "${bindir}/${TARGET_PREFIX}gcc \
               ${bindir}/${TARGET_PREFIX}gccbug \
               ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1 \