diff --git a/anda/tools/appimagelauncher/appimagelauncher.spec b/anda/tools/appimagelauncher/appimagelauncher.spec index 89605a3933..ca3aa6ebc8 100644 --- a/anda/tools/appimagelauncher/appimagelauncher.spec +++ b/anda/tools/appimagelauncher/appimagelauncher.spec @@ -29,6 +29,8 @@ BuildRequires: libappimageupdate-devel BuildRequires: systemd-rpm-macros BuildRequires: librsvg2-devel BuildRequires: libqtxdg-devel +BuildRequires: /usr/bin/ranlib +BuildRequires: /usr/bin/ar %description @@ -39,9 +41,8 @@ BuildRequires: libqtxdg-devel %build -export CXX="${CXX:clang++}" -%cmake -DBUILD_SHARED_LIBS:BOOL=OFF \ - -DUSE_SYSTEM_LIBARCHIVE=ON \ +%define __cxx clang++ +%cmake -DBUILD_SHARED_LIBS:BOOL=OFF \ -DUSE_SYSTEM_LIBARCHIVE=ON \ -DUSE_SYSTEM_LIBCURL=ON \ -DUSE_SYSTEM_SQUASHFUSE=ON \ -DUSE_SYSTEM_BOOST=ON \