forked from Lainports/opnsense-ports
24 lines
624 B
Text
24 lines
624 B
Text
--- configure.orig 2018-02-01 11:15:37 UTC
|
|
+++ configure
|
|
@@ -227,6 +227,10 @@ add_cxxflags(){
|
|
append ECXXFLAGS "$@"
|
|
}
|
|
|
|
+add_cppflags(){
|
|
+ append CPPFLAGS "$@"
|
|
+}
|
|
+
|
|
check_cxx(){
|
|
log check_cxx "$@"
|
|
cat > $TMPCXX
|
|
@@ -582,6 +586,10 @@ CXXPPFLAGS=${CXXPPFLAGS#CXXPPFLAGS=}
|
|
OPENGLV=$(cat mythconfig.mak | grep -e "^CONFIG_OPENGL_VIDEO=yes")
|
|
OPENGLES=$(cat mythconfig.mak | grep -e "^HAVE_GLES2_GL2_H=yes")
|
|
|
|
+add_cppflags "-I${prefix}/include"
|
|
+add_cxxflags "-I${prefix}/include"
|
|
+add_ldflags "-L${prefix}/lib"
|
|
+
|
|
EXTRALIBS=$(cat mythconfig.mak | grep -e "^EXTRALIBS=")
|
|
EXTRALIBS=${EXTRALIBS#EXTRALIBS=}
|
|
|