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

login
register
mail settings
Submitter Ross Burton
Date May 31, 2013, 3:05 p.m.
Message ID <986a0582611ff59d5a94d7e8996e6070a613942a.1370012689.git.ross.burton@intel.com>
Download mbox | patch
Permalink /patch/50987/
State New
Headers show

Comments

Ross Burton - May 31, 2013, 3:05 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