]> git.droids-corp.org - dpdk.git/blobdiff - devtools/test-meson-builds.sh
devtools: restore null test
[dpdk.git] / devtools / test-meson-builds.sh
index 57d1af47ef0cf2ef942362087a37f1d13a0916eb..9fe0a04c9e7b5fb1824f9fb5f0650b90bea30205 100755 (executable)
@@ -76,12 +76,14 @@ for c in gcc clang ; do
 done
 
 # test compilation with minimal x86 instruction set
+# Set the install path for libraries to "lib" explicitly to prevent problems
+# with pkg-config prefixes if installed in "lib/x86_64-linux-gnu" later.
 default_machine='nehalem'
 ok=$(cc -march=$default_machine -E - < /dev/null > /dev/null 2>&1 || echo false)
 if [ "$ok" = "false" ] ; then
        default_machine='corei7'
 fi
-build build-x86-default -Dmachine=$default_machine $use_shared
+build build-x86-default -Dlibdir=lib -Dmachine=$default_machine $use_shared
 
 # enable cross compilation if gcc cross-compiler is found
 c=aarch64-linux-gnu-gcc