mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Update SConstruct to include src/extras directory for getopt.h.
- Also don't link winsock as it's not used anymore.
This commit is contained in:
parent
76ec605b72
commit
8b0d8968cc
|
@ -75,10 +75,8 @@ if 'MSVS' in env_x86:
|
|||
# Linker needs TMP
|
||||
env_x86['ENV']['TMP'] = os.environ['TMP']
|
||||
env_x64['ENV']['TMP'] = os.environ['TMP']
|
||||
# VS version uses winsock2
|
||||
# We probably should be linking against the dll or just not using winsock.
|
||||
env_x86.MergeFlags('-lws2_32')
|
||||
env_x64.MergeFlags('-lws2_32') # ws2_64 isn't found, but 32 works.
|
||||
env_x86.MergeFlags('-Iextras')
|
||||
env_x64.MergeFlags('-Iextras')
|
||||
else:
|
||||
# GCC flags
|
||||
# -m for arch, -O2 for optimization, -lm for math lib
|
||||
|
|
Loading…
Reference in a new issue