mirror of
https://github.com/voided/CollisionHook.git
synced 2025-12-07 02:38:23 +00:00
Add some missing linux defines.
This commit is contained in:
parent
48f70c50a7
commit
fb958033fd
@ -392,7 +392,7 @@ class ExtensionConfig(object):
|
|||||||
cxx.cflags += ["/Oy-"]
|
cxx.cflags += ["/Oy-"]
|
||||||
|
|
||||||
def configure_linux(self, cxx):
|
def configure_linux(self, cxx):
|
||||||
cxx.defines += ["_LINUX", "POSIX"]
|
cxx.defines += ["LINUX", "_LINUX", "POSIX", "_FILE_OFFSET_BITS=64"]
|
||||||
cxx.linkflags += ["-Wl,--exclude-libs,ALL", "-lm"]
|
cxx.linkflags += ["-Wl,--exclude-libs,ALL", "-lm"]
|
||||||
if cxx.vendor == "gcc":
|
if cxx.vendor == "gcc":
|
||||||
cxx.linkflags += ["-static-libgcc"]
|
cxx.linkflags += ["-static-libgcc"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user