From 039dec8ec567536efa7f1c5c60a7370f9927686d Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Thu, 1 Apr 2021 04:39:13 +0200 Subject: [PATCH] always define LIBCUBESCRIPT_BUILD for build --- src/meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/meson.build b/src/meson.build index 399a11a..984fb6c 100644 --- a/src/meson.build +++ b/src/meson.build @@ -21,11 +21,10 @@ libcubescript_src = [ 'lib_str.cc' ] -lib_cxxflags = [] +lib_cxxflags = [ '-DLIBCUBESCRIPT_BUILD' ] host_system = host_machine.system() if host_system == 'windows' or host_system == 'cygwin' - lib_cxxflags += '-DLIBCUBESCRIPT_BUILD' if get_option('default_library') != 'static' lib_cxxflags += '-DLIBCUBESCRIPT_DLL' endif