diff --git a/Makefile.rules b/Makefile.rules index 82998793654..a048f941ad1 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