make/common/NativeCompilation.gmk
branchihse-nativecompilation-branch
changeset 56198 89aab97c5335
parent 56196 a96f5d80fa35
child 56723 d927981eeb64
--- 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), )