Skip to content

Commit

Permalink
- add missing win32 links for curl
Browse files Browse the repository at this point in the history
  • Loading branch information
polymonster committed Oct 1, 2023
1 parent ec3ddfb commit b34324a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions tools/pmbuild_ext/libdef.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def extract_symbols(lib):
symbols = dict()

for lib in libs:
print(f"----------------------------------------------------{lib}")
lib_symbols = extract_symbols(lib)

for k,v in list(lib_symbols.items()):
Expand Down
9 changes: 8 additions & 1 deletion tools/premake/globals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,14 @@ function setup_curl()
links {
"libcurl",
"libssl",
"libcrypto"
"libcrypto",
-- win32 libs required for curl
"ws2_32",
"gdi32",
"advapi32",
"crypt32",
"user32"

}
else
links {
Expand Down

0 comments on commit b34324a

Please sign in to comment.