eal: fix error message for unsupported platforms
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 20 Jul 2018 14:13:10 +0000 (15:13 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 26 Jul 2018 08:16:52 +0000 (10:16 +0200)
When building with meson on e.g. cygwin, the error message about an
unsupported platform referenced an unknown variable since
"host_machine" was missing an "_".

Fixes: 844514c73569 ("eal: build with meson")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eal/meson.build

index 259bb44..9817447 100644 (file)
@@ -18,7 +18,7 @@ elif host_machine.system() == 'freebsd'
        subdir('bsdapp/eal')
 
 else
-       error('unsupported system type @0@'.format(hostmachine.system()))
+       error('unsupported system type "@0@"'.format(host_machine.system()))
 endif
 
 version = 7  # the version of the EAL API