Dont link against rt on macOS

This commit is contained in:
Kovid Goyal
2017-09-27 14:18:55 +05:30
parent 9facc5f7d3
commit c973a7326e

View File

@@ -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)