about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--libraries.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries.mk b/libraries.mk
index 1e0fe49a53ef..90eb125a65d9 100644
--- a/libraries.mk
+++ b/libraries.mk
@@ -58,7 +58,7 @@ define build-library =
       endif
     else
       ifneq ($(OS), Darwin)
-        $(1)_LDFLAGS += -z defs
+        $(1)_LDFLAGS += -Wl,-z,defs
       endif
     endif