[gegl/wip/wormnest/fix-npd] meson: fix npd functions inaccessible from GIMP




commit ea15f28f0f2b84d20f1ac813726eaff84f7a68a2
Author: Jacob Boerema <jgboerema gmail com>
Date:   Fri Apr 29 15:54:16 2022 -0400

    meson: fix npd functions inaccessible from GIMP
    
    Recently our GIMP builds started failing with errors like:
    undefined reference to `npd_get_control_point_with_radius_at'.
    
    A recent change in gegl set gegl_npd_lib as libraries_private. However,
    the npd library needs to be accessible outside of gegl, e.g. in GIMP.
    Changing this back to adding gegl_npd_lib to libraries, fixes this.

 meson.build | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 35c3ed702..7d84c9ab6 100644
--- a/meson.build
+++ b/meson.build
@@ -510,8 +510,7 @@ pkgconfig.generate(gegl_lib,
   description: 'Generic Graphics Library',
   version: meson.project_version(),
   variables: 'pluginsdir=' + '${prefix}' / get_option('libdir') / api_name,
-  libraries: gegl_pub_deps,
-  libraries_private: gegl_npd_lib,
+  libraries: [gegl_pub_deps, gegl_npd_lib],
   subdirs: api_name,
 )
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]