diff --git a/glslang.spec b/glslang.spec index 7742502..222c68c 100644 --- a/glslang.spec +++ b/glslang.spec @@ -77,7 +77,7 @@ compressor's dictionary can find better cross module commonality. %install %global _lto_cflags %{_lto_cflags} -ffat-lto-objects %cmake_install -b=%{buildroot} +b="%buildroot" find "$b" -type f -name "*.a" -print -delete mkdir -p "$b/%_includedir" cp -a SPIRV glslang "$b/%_includedir/"