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
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

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)