Patchwork [14/14] gtk+3: clean up libtool link creation to avoid errors in configure log

login
register
mail settings
Submitter Ross Burton
Date May 30, 2013, 1:52 p.m.
Message ID <7f6817c212b8cb777b9117990c238f2a75ae8750.1369921759.git.ross.burton@intel.com>
Download mbox | patch
Permalink /patch/50865/
State Accepted
Commit 1f0a4d7bacb30446d8ba6d24b5e47d2dc3366051
Headers show

Comments

Ross Burton - May 30, 2013, 1:52 p.m.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-gnome/gtk+/gtk+3.inc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc b/meta/recipes-gnome/gtk+/gtk+3.inc
index 4742eb9..f4d5254 100644
--- a/meta/recipes-gnome/gtk+/gtk+3.inc
+++ b/meta/recipes-gnome/gtk+/gtk+3.inc
@@ -18,7 +18,8 @@  export PKG_CONFIG_FOR_BUILD = "${STAGING_BINDIR_NATIVE}/pkg-config-native"
 
 do_configure_prepend() {
     # Do this because the configure script is running ./libtool directly
-    ln -s ${TARGET_PREFIX}libtool libtool || true
+    rm -f libtool
+    ln -s ${TARGET_PREFIX}libtool libtool
 }
 
 # Forcibly disable the GTK+ 2 dependency as we don't want to natively build the