From: Samuel Martin <s.martin49@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] libglib2: add libglib2-libtool-remove-builddir-from-rpath.patch
Date: Sat, 28 Jul 2012 18:30:06 +0200 [thread overview]
Message-ID: <1343493006-5152-1-git-send-email-s.martin49@gmail.com> (raw)
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
create mode 100644 package/libglib2/libglib2-libtool-remove-builddir-from-rpath.patch
diff --git a/package/libglib2/libglib2-libtool-remove-builddir-from-rpath.patch b/package/libglib2/libglib2-libtool-remove-builddir-from-rpath.patch
new file mode 100644
index 0000000..a3d1af2
--- /dev/null
+++ b/package/libglib2/libglib2-libtool-remove-builddir-from-rpath.patch
@@ -0,0 +1,22 @@
+--- host-libglib2-2.30.2.orig/ltmain.sh 2012-07-28 11:46:14.976439251 +0200
++++ host-libglib2-2.30.2/ltmain.sh 2012-07-28 17:42:45.547223248 +0200
+@@ -398,6 +398,8 @@ case $progpath in
+ ;;
+ esac
+
++top_builddir="$progdir"
++
+ # Sed substitution that helps us do robust quoting. It backslashifies
+ # metacharacters that are still active within double-quoted strings.
+ Xsed="${SED}"' -e 1s/^X//'
+@@ -8027,6 +8029,10 @@ EOF
+ rpath="$finalize_rpath"
+ test "$opt_mode" != relink && rpath="$compile_rpath$rpath"
+ for libdir in $rpath; do
++ case "$libdir" in
++ "$top_buiddir"*) continue ;;
++ *) ;;
++ esac
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ func_replace_sysroot "$libdir"
--
1.7.11.3
next reply other threads:[~2012-07-28 16:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-28 16:30 Samuel Martin [this message]
2012-07-28 19:31 ` [Buildroot] [PATCH 1/1] libglib2: add libglib2-libtool-remove-builddir-from-rpath.patch Thomas Petazzoni
2012-07-28 20:00 ` Samuel Martin
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=1343493006-5152-1-git-send-email-s.martin49@gmail.com \
--to=s.martin49@gmail.com \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox