Commit 151e8c47 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜
Browse files

zbar.recipe: Don't pass CPPFLAGS at all

Now that we explicitly set CPPFLAGS, this was failing to build
because it incorrectly passes CPPFLAGS instead of RCFLAGS to WINDRES.
parent 071e3974
......@@ -16,6 +16,8 @@ class Recipe(recipe.Recipe):
if self.config.target_platform == Platform.WINDOWS:
# This flag should be removed in 0.24
self.append_env('CFLAGS', '-std=c99')
# zbar incorrectly passes CPPFLAGS to WINDRES, which then barfs on
# args it can't understand
self.set_env('CPPFLAGS', '')
if self.config.target_platform in [Platform.IOS, Platform.DARWIN]:
self.autoreconf = True
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment