]> git.pld-linux.org Git - packages/bladeRF.git/commitdiff
- fixed libdir used by cmake auto/th/bladeRF-2021.02-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 7 Jul 2022 04:38:11 +0000 (06:38 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 7 Jul 2022 04:38:11 +0000 (06:38 +0200)
bladeRF.spec

index fdaeb0fea252f72276afe3563068a1386eab800c..0de336bed09b07393c4b962316ebe9eef9ff9e85 100644 (file)
@@ -58,6 +58,7 @@ Pliki nagłówkowe biblioteki libbladeRF.
 install -d host/build
 cd host/build
 %cmake .. \
+       -DCMAKE_INSTALL_LIBDIR=%{_lib} \
        -DUDEV_RULES_PATH=/lib/udev/rules.d \
        -DVERSION_INFO_EXTRA=""
 
@@ -65,6 +66,8 @@ cd host/build
 
 %install
 rm -rf $RPM_BUILD_ROOT
+# cmake script defaults to %{_prefix}/lib if libdir doesn't exists
+install -d $RPM_BUILD_ROOT%{_libdir}
 
 %{__make} -C host/build install \
        DESTDIR=$RPM_BUILD_ROOT
This page took 0.356232 seconds and 4 git commands to generate.