Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/orc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Lhomme <robux4@ycbcr.xyz>2022-08-19 12:02:15 +0300
committerSteve Lhomme <robux4@ycbcr.xyz>2022-10-31 12:03:22 +0300
commit3073e83df965ca1d13eb66bf44585648106726cd (patch)
tree668bfad3a62db503dbcb729de1bf92369b2a4fb4
parent73f457cafedd38b29c3eb19bad8043e3f13c2ad9 (diff)
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.
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
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