Skip to content

build: Don't generate Libtool files outside of Android/iOS

amyspark requested to merge amyspark/cerbero:remove-la-generation into main

Hi all,

This MR is to disable LibTool module generation outside of Android and iOS. According to dd317a97, this is used on those two OSes; the former only uses it nowadays for the GStreamer examples (I ported the tutorials to CMake), I've not found where it's used in the latter OS.

This fixes the following warnings/spam in MSVC builds: https://gitlab.freedesktop.org/amyspark/cerbero/-/jobs/66212195#L1658 (among other instances in the gst-plugins subprojects)

16:54:04 | 0:01:04.858999 [(17/87 @ 88%) gstreamer-1.0 -> post_install]
16:54:04 | 0:01:04.983999 WARNING: x86_64 library 'C:/Users/Administrator/runner/builds/amyspark/cerbero/cb/dist/msvc_x86_64/lib/libgstbase-1.0.dll.a' not found
16:54:04 | 0:01:05.030999 WARNING: x86_64 library 'C:/Users/Administrator/runner/builds/amyspark/cerbero/cb/dist/msvc_x86_64/lib/libgstcheck-1.0.dll.a' not found
16:54:04 | 0:01:05.078000 WARNING: x86_64 library 'C:/Users/Administrator/runner/builds/amyspark/cerbero/cb/dist/msvc_x86_64/lib/libgstcontroller-1.0.dll.a' not found
16:54:04 | 0:01:05.108999 WARNING: x86_64 library 'C:/Users/Administrator/runner/builds/amyspark/cerbero/cb/dist/msvc_x86_64/lib/libgstnet-1.0.dll.a' not found
16:54:04 | 0:01:05.155999 WARNING: x86_64 library 'C:/Users/Administrator/runner/builds/amyspark/cerbero/cb/dist/msvc_x86_64/lib/libgstreamer-1.0.dll.a' not found

Merge request reports

Loading