21 lines
1.3 KiB
Diff
21 lines
1.3 KiB
Diff
--- eccodes-2.9.2-Source.orig/tests/bufr_dump_encode_fortran.sh 2018-11-09 15:55:26.000000000 +0100
|
|
+++ eccodes-2.9.2-Source/tests/bufr_dump_encode_fortran.sh 2018-11-24 15:07:09.396354719 +0100
|
|
@@ -41,6 +41,7 @@ if command -v pkg-config >/dev/null 2>&1
|
|
INSTALL_DIR=`grep -w CMAKE_INSTALL_PREFIX $CACHE_FILE | cut -d'=' -f2`
|
|
FLAGS_LINKER=`echo $FLAGS_LINKER | sed -e "s:$INSTALL_DIR:$BUILD_DIR:g"`
|
|
FLAGS_COMPILER=`echo $FLAGS_COMPILER | sed -e "s:$INSTALL_DIR:$BUILD_DIR:g"`
|
|
+ FLAGS_COMPILER="${FLAGS_COMPILER} -I${BUILD_DIR}/include"
|
|
|
|
# TODO: For now only support when shared libs enabled
|
|
#SHARED_LIBS=`grep -w BUILD_SHARED_LIBS $CACHE_FILE | cut -d'=' -f2`
|
|
--- eccodes-2.9.2-Source.orig/tests/bufr_dump_decode_fortran.sh 2018-11-09 15:55:26.000000000 +0100
|
|
+++ eccodes-2.9.2-Source/tests/bufr_dump_decode_fortran.sh 2018-11-24 15:07:09.397354693 +0100
|
|
@@ -41,6 +41,7 @@ if command -v pkg-config >/dev/null 2>&1
|
|
INSTALL_DIR=`grep -w CMAKE_INSTALL_PREFIX $CACHE_FILE | cut -d'=' -f2`
|
|
FLAGS_LINKER=`echo $FLAGS_LINKER | sed -e "s:$INSTALL_DIR:$BUILD_DIR:g"`
|
|
FLAGS_COMPILER=`echo $FLAGS_COMPILER | sed -e "s:$INSTALL_DIR:$BUILD_DIR:g"`
|
|
+ FLAGS_COMPILER="${FLAGS_COMPILER} -I${BUILD_DIR}/include"
|
|
|
|
# TODO: For now only support when shared libs enabled
|
|
#SHARED_LIBS=`grep -w BUILD_SHARED_LIBS $CACHE_FILE | cut -d'=' -f2`
|