Compiler/root

- we do not have to apply the CMakeList patch for Oracle Instantclient if root version is >= 6.12
This commit is contained in:
2018-02-19 17:54:20 +01:00
parent ab5088f609
commit 4eae2f2a4e

View File

@@ -31,7 +31,9 @@ Linux )
esac
pbuild::patch_sources_Linux() {
patch -p1 < "${BUILD_BLOCK_DIR}/${V_MAJOR}/cmake_oracle12.patch"
if (( V_MAJOR == 6 && V_MINOR < 12)); then
patch -p1 < "${BUILD_BLOCK_DIR}/${V_MAJOR}/cmake_oracle12.patch"
fi
}
pbuild::configure() {