fix mingw32 build

This commit is contained in:
UdjinM6 2024-09-28 10:48:43 +03:00
parent 7bb1d0ef5e
commit 1522896f9f
No known key found for this signature in database
GPG Key ID: 83592BD1400D58D9

View File

@ -19,6 +19,7 @@ define $(package)_set_vars
$(package)_config_opts += -DENABLE_DRAFTS=OFF -DZMQ_BUILD_TESTS=OFF
$(package)_cxxflags += -ffile-prefix-map=$($(package)_extract_dir)=/usr
$(package)_config_opts_mingw32 += -DZMQ_WIN32_WINNT=0x0601 -DZMQ_HAVE_IPC=OFF
$(package)_config_opts_mingw32 += -DCMAKE_RC_COMPILER=x86_64-w64-mingw32-windres
$(package)_cxxflags+=-std=c++17
endef