diff options
author | B. Scott Michel <scooter.phd@gmail.com> | 2025-01-30 02:13:11 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-01-30 02:31:26 +0100 |
commit | 04612eb31674698450b40b5d841e544acd9de4bb (patch) | |
tree | a9ad2bd0450d17970135686f4fe22ecc7cc2a975 /fuzzing/slirp_fuzz_tcp.c | |
parent | aad57fd45736f818d08f793f37a4cb67717c9122 (diff) | |
download | slirp-04612eb31674698450b40b5d841e544acd9de4bb.zip slirp-04612eb31674698450b40b5d841e544acd9de4bb.tar.gz slirp-04612eb31674698450b40b5d841e544acd9de4bb.tar.bz2 |
Windows target build fixes
Meson (meson.build):
- Add "target_winver" (default: "") option to support Windows versions
earlier Windows 7 (0x0601, the same as glib.) This sets a compiler
command-line define "-DTARGET_WINVER=${target_winver}", which
unconditionally sets WINVER and _WIN32_WINNT to select the requested
target Windows API.
Ref: https://learn.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt
- Clean up building the static library.
- Build the static library when "-Dstatic=true" is present on the
command line, not just when doing fuzz testing.
- Add the "*_STATIC_COMPILATION" defines to the compiler's command
line. For Windows, ensure that libiconv is an explicit dependency
since "pkg-config --libs --static" fails to add it as a dependency
library.
Diffstat (limited to 'fuzzing/slirp_fuzz_tcp.c')
0 files changed, 0 insertions, 0 deletions