From b5980af06f7d907b01c95ea4a99f2a801828e5e8 Mon Sep 17 00:00:00 2001 From: David Given Date: Thu, 24 Nov 2016 21:03:27 +0100 Subject: [PATCH] Linker groups don't work on OSX; go back to the hacky way of simply specifying the inputs multiple times, which seems to work. --- first/build.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" }, } }, -- 2.34.1