diff --git a/SysBuild/security/qca b/SysBuild/security/qca index 4f81c1b..dbde52e 100644 --- a/SysBuild/security/qca +++ b/SysBuild/security/qca @@ -82,7 +82,7 @@ mk32() { CXX="g++ $BUILDOPTIONS32" \ USE_ARCH=32 \ ./configure --prefix=/usr - make -j $NUMCPU CC="gcc $BUILDOPTIONS32" CXX="g++ $BUILDOPTIONS32" + make -j $NUMCPU CC="gcc $BUILDOPTIONS32" CXX="g++ $BUILDOPTIONS32" USE_ARCH=32 make -j $NUMCPU INSTALL_ROOT=$TMPROOT install make distclean } @@ -98,6 +98,13 @@ mk() { --prefix=/usr make -j $NUMCPU make -j $NUMCPU INSTALL_ROOT=$TMPROOT install + if [ "$MK64BIT" == "true" ]; then + if [ -d $TMPROOT/usr/src/qca-*/src/lib64 ]; then + mv $TMPROOT/usr/src/qca-*/src/lib64 $TMPROOT/usr/ + mv $TMPROOT/usr/src/qca-*/lib64/* $TMPROOT/usr/lib64 + rm -r $TMPROOT/usr/src/qca-* + fi + fi } postmk() {