From 2352c3db2bc3a1896baef96561757b33f141fcc1 Mon Sep 17 00:00:00 2001 From: Adam Novak Date: Mon, 6 May 2024 17:02:14 -0400 Subject: [PATCH] Protect linker arguments from Clang --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e845540f65e..6c8fd7262a1 100644 --- a/Makefile +++ b/Makefile @@ -217,7 +217,7 @@ ifeq ($(shell uname -s),Darwin) END_STATIC = # We need to use special flags to let us rename libraries - LD_RENAMEABLE_FLAGS = -headerpad -headerpad_max_install_names + LD_RENAMEABLE_FLAGS = -Wl,-headerpad -Wl,-headerpad_max_install_names else # We are not running on OS X $(info OS is Linux)