Skip to content

Commit

Permalink
Introduce platform_libs which is used for bmake
Browse files Browse the repository at this point in the history
Don't add iphlpapi to lit_libs for any compiler on windows, with bmake we don't need that
  • Loading branch information
jwillemsen committed Apr 26, 2024
1 parent b7ece08 commit 3e1c169
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ACE/bin/MakeProjectCreator/config/acedefaults.mpb
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ project: ipv6, vc_warnings, build_files, test_files, svc_conf_files, ace_unicode
unicode_flags += -DACE_USES_WCHAR
macros += MPC_LIB_MODIFIER=\\"$(LIBMODIFIER)$(ULIBMODIFIER)\\"
debug_macros += ACE_NO_INLINE=1
platform_libs += iphlpapi
}

specific(prop:microsoft) {
macro_for_lib_modifier=1
}

specific(prop:windows) {
specific(prop:microsoft,iar,uvis,wix) {
lit_libs += iphlpapi
}
verbatim(cmake, top, 1) {
Expand All @@ -26,7 +27,7 @@ project: ipv6, vc_warnings, build_files, test_files, svc_conf_files, ace_unicode
}

specific(cdt6) {
win32::platform_libs += ws2_32 mswsock netapi32
win32::platform_libs += ws2_32 mswsock netapi32 iphlpapi
release::macros += ACE_NDEBUG
}

Expand Down

0 comments on commit 3e1c169

Please sign in to comment.