summaryrefslogtreecommitdiff
path: root/recipes/blackbox/files/remove-host-includes.patch
blob: bf557b51dae9881ea76b6684a58a9742c1404534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: blackbox-0.70.1/configure.ac
===================================================================
--- blackbox-0.70.1.orig/configure.ac
+++ blackbox-0.70.1/configure.ac
@@ -8,14 +8,6 @@ AC_CONFIG_SRCDIR([src/blackbox.cc])
 dnl Determine default prefix
 test "x$prefix" = "xNONE" && prefix="$ac_default_prefix"
 
-dnl Look in the most logical places for external libraries
-CPPFLAGS="$CPPFLAGS -I$prefix/include"
-LDFLAGS="$LDFLAGS -L$prefix/lib"
-if test "x$prefix" != "x/usr/local"; then
-  CPPFLAGS="$CPPFLAGS -I/usr/local/include"
-  LDFLAGS="$LDFLAGS -L/usr/local/lib"
-fi
-
 dnl Locate required external software
 AC_PROG_CC