aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2018-02-15 19:12:49 +0800
committerfanquake <fanquake@gmail.com>2018-02-15 19:12:49 +0800
commit25409b16fd593f45168e839fe21ed0f642908e11 (patch)
treea62902e611d30e37b0027bf631f980a01ebbb30a /depends
parent3335d45f28cd4fdee47364ec47309d7dd8f94ea9 (diff)
fixme: depends: Add D_DARWIN_C_SOURCE to miniupnpc CFLAGS
Diffstat (limited to 'depends')
-rw-r--r--depends/packages/miniupnpc.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/depends/packages/miniupnpc.mk b/depends/packages/miniupnpc.mk
index 81517965dd..9976db43c2 100644
--- a/depends/packages/miniupnpc.mk
+++ b/depends/packages/miniupnpc.mk
@@ -9,6 +9,7 @@ $(package)_build_opts=CC="$($(package)_cc)"
$(package)_build_opts_darwin=OS=Darwin LIBTOOL="$($(package)_libtool)"
$(package)_build_opts_mingw32=-f Makefile.mingw
$(package)_build_env+=CFLAGS="$($(package)_cflags) $($(package)_cppflags)" AR="$($(package)_ar)"
+$(package)_build_env+=CFLAGS=-D_DARWIN_C_SOURCE
endef
define $(package)_preprocess_cmds