From 3073e83df965ca1d13eb66bf44585648106726cd Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Fri, 19 Aug 2022 11:02:15 +0200 Subject: meson: export ORC_STATIC_COMPILATION in the pkgconfig file If the library is compiled statically the define also needs to be set in the orc-0.4.pc file so that users of the library (in a UNIX toolchain cross compiling to Windows) will not import the functions as DLL imports. --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index b59423b..dc65961 100644 --- a/meson.build +++ b/meson.build @@ -187,6 +187,7 @@ pkg.generate (orc_lib, subdirs : 'orc-' + orc_api, description : 'Library of Optimized Inner Loops Runtime Compiler', variables : tools_variables, + extra_cflags: orc_dep_cargs, libraries_private : orc_dependencies) # Install m4 macro that other projects use -- cgit v1.2.3