forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-02-17 557c24d082b6ecb9bfe5407b77ae43fa7650a5dc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Use the version of orcc in the sysroot not the one from the host
 
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
 
Upstream-Status: Inappropriate [configuration]
 
Index: schroedinger-1.0.11/configure.ac
===================================================================
--- schroedinger-1.0.11.orig/configure.ac
+++ schroedinger-1.0.11/configure.ac
@@ -54,7 +54,7 @@ if test "x${HAVE_ORC}" != xyes ; then
   AC_ERROR([orc-0.4 >= $ORC_VER is required])
 fi
 SCHRO_PKG_DEPS="$SCHRO_PKG_DEPS orc-0.4 >= $ORC_VER"
-ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
+ORCC=$STAGING_DIR`$PKG_CONFIG --variable=orcc orc-0.4`
 AC_SUBST(ORCC)
 AM_CONDITIONAL(HAVE_ORCC, test "x$cross_compiling" != xyes)