diff --git a/glslang.spec b/glslang.spec index c96feb6..9f5ee74 100644 --- a/glslang.spec +++ b/glslang.spec @@ -61,8 +61,10 @@ make %{?_smp_mflags} %install %cmake_install -mkdir -p "%buildroot/%_libdir" -mv "%buildroot/%_prefix/lib"/*.a "%buildroot/%_libdir/" +if test "%_lib" != lib; then + mkdir -p "%buildroot/%_libdir" + mv "%buildroot/%_prefix/lib"/*.a "%buildroot/%_libdir/" +fi %files devel %defattr(-,root,root)