Skip to content

Commit

Permalink
Wait, how did this ever work?
Browse files Browse the repository at this point in the history
  • Loading branch information
Stary2001 committed Mar 2, 2023
1 parent 4aca136 commit 698db43
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions platform/switch/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,7 @@ def configure(env):
env.ParseConfig("aarch64-none-elf-pkg-config libwslay --cflags --libs")

if not env["builtin_miniupnpc"]:
# No pkgconfig file so far, hardcode default paths.
env.Append(CPPPATH=["/usr/include/miniupnpc"])
env.Append(LIBS=["miniupnpc"])
env.ParseConfig("aarch64-none-elf-pkg-config miniupnpc --cflags --libs")

# On Linux wchar_t should be 32-bits
# 16-bit library shouldn't be required due to compiler optimisations
Expand Down

0 comments on commit 698db43

Please sign in to comment.