bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0b08318117540f45e87874f000d2aa5eb90bcbee

commit 0b08318117540f45e87874f000d2aa5eb90bcbee
Author: Marcel Hollerbach <[email protected]>
Date:   Wed May 27 13:09:36 2020 +0200

    build: add correct flags to efl-one.pc
    
    they are required, and normally dragged in via eina.
---
 meson.build              | 2 +-
 src/lib/eina/meson.build | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/meson.build b/meson.build
index 1533d984f7..5f6c339907 100644
--- a/meson.build
+++ b/meson.build
@@ -504,7 +504,7 @@ if (get_option('efl-one'))
   pkgconfig.generate(
     name : 'efl-one',
     description: 'Configureation for efl in one big fat .so',
-    libraries : efl_one,
+    libraries : [efl_one] + eina_pc_deps, #eina is a special case here which 
drags in m dl & threads
   )
 
   #overwrite all the dependencies of subprojects with efl-one, in order to 
link the modules and binaries to the correct .so
diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
index 8df3660f31..bdb69000b9 100644
--- a/src/lib/eina/meson.build
+++ b/src/lib/eina/meson.build
@@ -1,6 +1,7 @@
 eina_deps = [dl]
 eina_pub_deps = [thread_dep]
-eina_ext_deps = [m, rt, dl, thread_dep]
+eina_pc_deps = [m, rt, dl, thread_dep] #special case, this array is taken to 
drag in external deps to efl-one
+eina_ext_deps = eina_pc_deps
 
 if sys_windows == true
    eina_pub_deps += [evil]
@@ -393,5 +394,5 @@ pkgconfig.generate(eina_lib,
   name : 'eina',
   subdirs : ['eina-'+version_major, 'efl-'+version_major, 
join_paths('eina-'+version_major, 'eina')],
   version : version_major + '.' + version_minor + '.' + version_micro,
-  libraries : eina_pub_deps,
+  libraries : eina_pub_deps + eina_pc_deps,
 )

-- 


Reply via email to