Skip to content

configure: Fix parsing of compiler version

Avoids grabbing warnings on invocation of the target compiler, e.g.

#define VLC_COMPILER "clang: warning: argument unused during compilation: '-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk' [-Wunused-command-line-argument]"

vs. after fix:

#define VLC_COMPILER "Apple clang version 17.0.0 (clang-1700.0.13.3)"

Signed-off-by: Claudio Cambra developer@claudiocambra.com

Edited by Claudio Cambra

Merge request reports

Loading