Skip to contentSkip to conversation

ncurses: Fix case where ${B} != ${S}

PATCH Richard Purdie 1 participant 1 message Mar 18, 2013

lore
Share & tools
lore
#0 lore raw

This change allows ${B} != ${S} builds to work as otherwise gnu-configize is executed in the incorrect directory.

---

(quoted diff) +0 -0

b/meta/recipes-core/ncurses/ncurses.inc
index 040495c..bcb9c94 100644

meta/recipes-core/ncurses/ncurses.inc +1 -1
@@ -94,7 +94,7 @@ do_configure() {
         # not the case for /dev/null redirections)
         export cf_cv_working_poll=yes
 
-	gnu-configize --force
+	( cd ${S}; gnu-configize --force )
 	ncurses_configure "narrowc" || \
 		return 1
 	! ${ENABLE_WIDEC} || \