Commit d0dcd24b authored by nimaje's avatar nimaje
Browse files

only set VMPROF_APPLE on darwin

setting that on all systems that aren't handled explicitly breaks translation at least on freebsd,
but probably on everything that isn't darwin (wanted there), linux or windows (handled explicitly).

branch : set-vmprof_apple-only-on-darwin
parent 05669eea9f9c
Pipeline #23050 passed with stage
in 5 minutes and 16 seconds
......@@ -62,7 +62,8 @@ def make_eci():
# Guessing a BSD-like Unix platform
compile_extra += ['-DVMPROF_UNIX']
compile_extra += ['-DVMPROF_APPLE']
if sys.platform.startswith('darwin'):
compile_extra += ['-DVMPROF_APPLE']
if sys.platform.startswith('freebsd'):
_libs = ['unwind']
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment