From: "Eric Bénard" <eric@eukrea.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] shadow: fix rpath issues
Date: Fri, 18 Feb 2011 13:30:54 +0100 [thread overview]
Message-ID: <1298032254-26236-1-git-send-email-eric@eukrea.com> (raw)
* add --disable-rpath (not enough with angstrom 2008.1)
* fix build problems with rpath on older libtool
* bump INC_PR
Signed-off-by: Eric Bénard <eric@eukrea.com>
---
recipes/shadow/shadow.inc | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/recipes/shadow/shadow.inc b/recipes/shadow/shadow.inc
index 1b105c5..d688064 100644
--- a/recipes/shadow/shadow.inc
+++ b/recipes/shadow/shadow.inc
@@ -13,7 +13,7 @@ DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}"
-INC_PR = "r18"
+INC_PR = "r19"
# Additional Policy files for PAM
PAM_SRC_URI = " \
@@ -39,6 +39,7 @@ EXTRA_OECONF += "\
--without-audit \
--without-selinux \
--without-libcrack \
+ --disable-rpath \
${@base_contains('DISTRO_FEATURES', 'pam', '--with-libpam', '--without-libpam', d)} \
"
@@ -70,6 +71,12 @@ shadow_cv_passwd_dir=${bindir}
END
}
+do_configure_append () {
+ # use same fix as libiconv
+ sed -i -e s/^hardcode_libdir_flag_spec/#hardcode_libdir_flag_spec/ \
+ -e s/^runpath_var/#runpath_var/ ${S}/*-libtool
+}
+
do_install_append() {
# Ensure that /etc/skel is created so any default files that we want copied into new users home
# dirs can be put in there later (ideal for .xinitrc for example).
--
1.7.0.4
next reply other threads:[~2011-02-18 12:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-18 12:30 Eric Bénard [this message]
2011-02-18 14:30 ` [PATCH] shadow: fix rpath issues Tom Rini
2011-02-18 14:42 ` Eric Bénard
2011-02-18 15:33 ` Khem Raj
2011-02-19 14:36 ` Eric Benard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1298032254-26236-1-git-send-email-eric@eukrea.com \
--to=eric@eukrea.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.