summaryrefslogtreecommitdiff
path: root/recipes/mc/mc.inc
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2010-07-05 02:41:51 +0000
committerutx@penguin.cz <utx@penguin.cz>2010-07-05 02:41:51 +0000
commitdafcd0c847c064b190f70262045547f9c05fd48d (patch)
tree6aca81b125b838d03fc3e63f8043baa1f1f37d3d /recipes/mc/mc.inc
parent85b584079faadac00b328fc512fa6cf01102a8a0 (diff)
mc: Prefer native libglib-2.0.so.0 over host one in runtime linking of man2hlp. Introduce INC_PR.
Diffstat (limited to 'recipes/mc/mc.inc')
-rw-r--r--recipes/mc/mc.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/mc/mc.inc b/recipes/mc/mc.inc
index 508cb6eb88..db52b6b095 100644
--- a/recipes/mc/mc.inc
+++ b/recipes/mc/mc.inc
@@ -6,6 +6,7 @@ SECTION = "console/utils"
PRIORITY = "optional"
DEPENDS = "ncurses glib-2.0 glib-2.0-native"
RDEPENDS_${PN} = "ncurses-terminfo"
+INC_PR = "r5"
SRC_URI = "http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-${PV}.tar.gz"
@@ -32,7 +33,7 @@ PACKAGE_ARCH_${PN}-hilite = "all"
export CC_FOR_BUILD = "${BUILD_CC}"
export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
-export LD_FOR_BUILD = "${BUILD_CC}"
+export LD_FOR_BUILD = "${BUILD_CC} -Wl,-rpath -Wl,${STAGING_LIBDIR_NATIVE}"
do_compile_prepend() {
# FIXME: Ugly! Should be done globally with respect to the host system (in classes) instead of NATIVE_PKGCONFIG_PATH:
export HOST_PKG_CONFIG_PATH=