summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 8299879365..a048f941ad 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -433,7 +433,7 @@ ifndef KEEP_SYMBOLS
endif
# Adjust linker flags for building an executable
-ifndef ($(OS),Darwin)
+ifneq ($(OS),Darwin)
ifdef TOOLNAME
ifdef EXAMPLE_TOOL
LD.Flags += -Wl,-rpath -Wl,$(ExmplDir) -export-dynamic