Skip to content
Snippets Groups Projects
Commit c6b4beef authored by Dan Hirsch's avatar Dan Hirsch
Browse files

Make install_name darwin-only

parent 1ec64f49
No related branches found
No related tags found
No related merge requests found
......@@ -35,9 +35,10 @@ env.ScanReplace('libhammer.pc.in')
env.MergeFlags("-std=gnu99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-attributes")
if not env['PLATFORM'] == 'darwin':
if env['PLATFORM'] == 'darwin':
env.Append(SHLINKFLAGS = ['-install_name', '$TARGET'])
else:
env.MergeFlags("-lrt")
env.Append(SHLINKFLAGS = ['-install_name ' + '$TARGET'])
AddOption("--variant",
dest="variant",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment