Don't let configure switch OBJC to gcc, or building may fail then CC=clang. Only affects OS X.

This commit is contained in:
adam 2014-10-14 19:20:05 +00:00
parent 1e3d0fe2dd
commit f1fcd87a0d

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2014/10/09 14:06:34 wiz Exp $ # $NetBSD: Makefile,v 1.4 2014/10/14 19:20:05 adam Exp $
DISTNAME= SDL2_image-2.0.0 DISTNAME= SDL2_image-2.0.0
PKGREVISION= 1 PKGREVISION= 1
@ -13,6 +13,7 @@ LICENSE= zlib
USE_LANGUAGES= c USE_LANGUAGES= c
USE_LIBTOOL= yes USE_LIBTOOL= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ARGS+= ac_cv_prog_ac_ct_OBJC=${CC:Q}
INSTALLATION_DIRS= bin INSTALLATION_DIRS= bin
PKGCONFIG_OVERRIDE= SDL_image.pc.in PKGCONFIG_OVERRIDE= SDL_image.pc.in