Fix syntax error. ihse-nativecompilation-branch
authorihse
Tue, 27 Feb 2018 11:50:16 +0100
branchihse-nativecompilation-branch
changeset 56198 89aab97c5335
parent 56197 8fcca3163b7f
child 56723 d927981eeb64
Fix syntax error.
make/common/NativeCompilation.gmk
--- a/make/common/NativeCompilation.gmk	Tue Feb 27 11:22:32 2018 +0100
+++ b/make/common/NativeCompilation.gmk	Tue Feb 27 11:50:16 2018 +0100
@@ -420,10 +420,10 @@
   ifneq ($$($1_NAME), $(basename $$($1_NAME)))
     $$(error NAME must not contain any directory path in $1)
   endif
-  ifneq ($(findstring $$($1_SUFFIX), $$($1_NAME)))
+  ifneq ($(findstring $$($1_SUFFIX), $$($1_NAME)), )
     $$(error NAME should be specified without suffix: $$($1_SUFFIX) in $1)
   endif
-  ifneq ($(findstring $$($1_PREFIX), $$($1_NAME)))
+  ifneq ($(findstring $$($1_PREFIX), $$($1_NAME)), )
     $$(error NAME should be specified without prefix: $$($1_PREFIX) in $1)
   endif
   ifeq ($$($1_OUTPUT_DIR), )