From: David Given Date: Thu, 24 Nov 2016 20:03:27 +0000 (+0100) Subject: Linker groups don't work on OSX; go back to the hacky way of simply specifying X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=b5980af06f7d907b01c95ea4a99f2a801828e5e8;p=ack.git Linker groups don't work on OSX; go back to the hacky way of simply specifying the inputs multiple times, which seems to work. --- diff --git a/first/build.lua b/first/build.lua index 85df519a8..20eab73c8 100644 --- a/first/build.lua +++ b/first/build.lua @@ -220,7 +220,7 @@ definerule("cprogram", commands = { type="strings", default={ - "$(CC) -o %{outs[1]} -Wl,--start-group %{ins} -Wl,--end-group" + "$(CC) -o %{outs[1]} %{ins} %{ins}" }, } },