From patchwork Sat Jul 28 16:30:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 173874 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 6ADA52C0092 for ; Sun, 29 Jul 2012 02:32:10 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2184210BAB5; Sat, 28 Jul 2012 16:32:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dm37dJJGGYEW; Sat, 28 Jul 2012 16:32:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 73FCB10033C; Sat, 28 Jul 2012 16:32:05 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 5797A8F753 for ; Sat, 28 Jul 2012 16:32:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 78D038C756 for ; Sat, 28 Jul 2012 16:31:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mr-zhIbSGT2o for ; Sat, 28 Jul 2012 16:31:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by whitealder.osuosl.org (Postfix) with ESMTPS id BABBD8C683 for ; Sat, 28 Jul 2012 16:31:35 +0000 (UTC) Received: by wibhm2 with SMTP id hm2so435695wib.10 for ; Sat, 28 Jul 2012 09:31:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=jdf41tQ0hcGBb06xHC03ZMDF5cC8UlLqJQUSNM3CiCw=; b=pzPUZqiFGaDIrzWcDx+lR/80/EsvYlK634yClwXAR+UNDPzzlI3JcGUjdkuIZ1CD1H peIdn2XQxZXIowO72ruiLiJpq5Pfc9eVsiyCfPdH3KerMRhkTkTyBn25naM+AhGKxN7i f9gjKGRUJ5gaALST9BapXpn6h4YFZfzmIONhYpCyzytTzmbD/belK6CwXje2eWKhmfVN oQ7aIelaKbE75Fz/Ib6ScHqPaJFyhR7kTcbffW46EBREeeS+Z7gKd4ulDty1HFNEQfmB qygu5YYR8bKJXKYZM7qblgMv7eR3QDCF1Me1CIRlO8UYQsyzrS9wjQaHmEbxnSa6Fc0W 8keA== Received: by 10.180.74.33 with SMTP id q1mr30394189wiv.4.1343493093749; Sat, 28 Jul 2012 09:31:33 -0700 (PDT) Received: from localhost.localdomain (ivr94-4-82-229-165-48.fbx.proxad.net. [82.229.165.48]) by mx.google.com with ESMTPS id k20sm5241973wiv.11.2012.07.28.09.31.31 (version=SSLv3 cipher=OTHER); Sat, 28 Jul 2012 09:31:32 -0700 (PDT) From: Samuel Martin To: buildroot@busybox.net Date: Sat, 28 Jul 2012 18:30:06 +0200 Message-Id: <1343493006-5152-1-git-send-email-s.martin49@gmail.com> X-Mailer: git-send-email 1.7.11.3 Subject: [Buildroot] [PATCH 1/1] libglib2: add libglib2-libtool-remove-builddir-from-rpath.patch X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Samuel Martin 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"