summaryrefslogtreecommitdiffstats
path: root/meta-openembedded/meta-oe/recipes-multimedia/esound/esound/0003-Use-I-path-in-configure.patch
blob: 83365b4e6f0cc1b929e21691c84bfa60afab0b24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From 89c62db54716d514e639f9e1bfd3c1f7d82641dd Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 8 Jun 2017 23:12:36 -0700
Subject: [PATCH] Use -I=<path> in configure

This helps to use proper sysroot in
cross build environment

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 5645dce..d374cda 100644
--- a/configure.ac
+++ b/configure.ac
@@ -208,7 +208,7 @@ if test "x$enable_local_sound" = "xyes"; then
    AC_CHECK_HEADERS(CoreAudio/CoreAudio.h)
    # mme_api.h directly includes other files from the mme subdir
    xCPPFLAGS="$CPPFLAGS"
-   CPPFLAGS="$CPPFLAGS -I/usr/include/mme"
+   CPPFLAGS="$CPPFLAGS -I=/usr/include/mme"
    AC_CHECK_HEADERS(mme/mme_api.h)
    CPPFLAGS="$xCPPFLAGS"
    AM_PATH_ARTS(, HAVE_ARTS=yes, HAVE_ARTS=no)
@@ -269,7 +269,7 @@ if test "x$enable_local_sound" = "xyes"; then
       osf*)
 	found_sound=yes
 	AC_DEFINE(DRIVER_OSF, 1, [Defined if OSF backend is enabled])
-	CPPFLAGS="$CPPFLAGS -I/usr/include/mme"
+	CPPFLAGS="$CPPFLAGS -I=/usr/include/mme"
 	SOUND_LIBS=-lmme
       esac
    fi
OpenPOWER on IntegriCloud