mirror of
https://github.com/voided/CollisionHook.git
synced 2025-12-06 18:28:22 +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-"]
|
||||
|
||||
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"]
|
||||
if cxx.vendor == "gcc":
|
||||
cxx.linkflags += ["-static-libgcc"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user