hc
2023-11-06 15ade055295d13f95d49e3d99b09f3bbfb4a43e7
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)