contribs: vorbis: Detect clang even with an absolute path
authorHugo Beauzée-Luyssen <hugo@beauzee.fr>
Fri, 21 Apr 2017 16:02:42 +0000 (18:02 +0200)
committerHugo Beauzée-Luyssen <hugo@beauzee.fr>
Fri, 21 Apr 2017 16:06:10 +0000 (18:06 +0200)
Fix android-x86 builds

contrib/src/vorbis/rules.mak

index c6dc5a6..51747b2 100644 (file)
@@ -24,7 +24,7 @@ $(TARBALLS)/libvorbis-$(VORBIS_VERSION).tar.xz:
 
 libvorbis: libvorbis-$(VORBIS_VERSION).tar.xz .sum-vorbis
        $(UNPACK)
-ifeq ($(CC), clang)
+ifneq (,$(filter %clang,$(CC)))
        $(APPLY) $(SRC)/vorbis/clang.patch
 endif
        $(UPDATE_AUTOCONFIG)