Bugfix: Fixes #207, Build fails on Linux Mint

This commit is contained in:
Rory Fewell
2023-08-01 18:20:56 +01:00
parent 2f4ac7acaf
commit 71552c5a2f
4 changed files with 6 additions and 5 deletions

View File

@@ -115,8 +115,9 @@ build_result=0
cd "${full_build_dir}" cd "${full_build_dir}"
cmake --fresh \ rm -rf "${full_build_dir}"/*
-DBUILD_SHARED_LIBS=ON \
cmake -DBUILD_SHARED_LIBS=ON \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DWINTC_SKU="${OPT_SKU}" \ -DWINTC_SKU="${OPT_SKU}" \
-DWINTC_PKGMGR="${dist_id}" \ -DWINTC_PKGMGR="${dist_id}" \

View File

@@ -41,7 +41,7 @@ do
;; ;;
h) h)
echo "Usage: buildall.sh [-chos]" echo "Usage: buildall.sh [-chosz]"
echo " -c : provide a list of components (default 'targets')" echo " -c : provide a list of components (default 'targets')"
echo " -h : display this help screen" echo " -h : display this help screen"
echo " -o : specify output directory for packages" echo " -o : specify output directory for packages"

View File

@@ -11,5 +11,5 @@ package()
@ARCH_DEPENDENCIES@ @ARCH_DEPENDENCIES@
cd .. cd ..
make install DESTDIR="$pkgdir/" CMAKE_INSTALL_ALWAYS=1 make install DESTDIR="$pkgdir/"
} }

View File

@@ -21,7 +21,7 @@ do_packaging()
# Assemble package # Assemble package
# #
cd "${full_component_dir}" cd "${full_component_dir}"
make install DESTDIR="${pkg_dir}" CMAKE_INSTALL_ALWAYS=1 make install DESTDIR="${pkg_dir}"
ass_res=$? ass_res=$?