Accepting request 1002289 from home:rhabacker:branches:games

- Adjust the cmake support files to use the shared libraries added
  from the latest changes

OBS-URL: https://build.opensuse.org/request/show/1002289
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=97
This commit is contained in:
Jan Engelhardt 2022-09-09 11:50:59 +00:00 committed by Git OBS Bridge
parent f455250253
commit ce24681dae
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 9 10:35:49 UTC 2022 - Ralf Habacker <ralf.habacker@freenet.de>
- Adjust the cmake support files to use the shared libraries added
from the latest changes
-------------------------------------------------------------------
Wed Sep 7 09:20:41 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -92,6 +92,7 @@ for i in libOGLCompiler libOSDependent libGenericCodeGen libMachineIndependent;
ln -s libglslang.so "$b/%_libdir/$i.so"
rm -f "$b/%_libdir/$i.a"
done
sed -i 's,\.a",\.so",g' %buildroot%{_datadir}/glslang/glslang-targets-*.cmake
%fdupes %buildroot/%_prefix