Dont link against rt on macOS
This commit is contained in:
parent
9facc5f7d3
commit
c973a7326e
4
setup.py
4
setup.py
@ -170,7 +170,9 @@ def init_env(debug=False, sanitize=False, native_optimizations=True, profile=Fal
|
||||
else:
|
||||
glfw_ldflags = pkg_config('glfw3', '--libs')
|
||||
glew_libs = pkg_config('glew', '--libs')
|
||||
ldpaths = pylib + glew_libs + font_libs + glfw_ldflags + ['-lunistring', '-lrt']
|
||||
ldpaths = pylib + glew_libs + font_libs + glfw_ldflags + ['-lunistring']
|
||||
if not isosx:
|
||||
ldpaths += ['-lrt']
|
||||
|
||||
try:
|
||||
os.mkdir(build_dir)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user