fixme: depends: Add D_DARWIN_C_SOURCE to miniupnpc CFLAGS

This commit is contained in:
fanquake 2018-02-15 19:12:49 +08:00
parent 3335d45f28
commit 25409b16fd
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -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