build: rely on automatic pkg file generation for eina
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Wed, 27 May 2020 12:37:28 +0000 (14:37 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 31 May 2020 21:33:07 +0000 (06:33 +0900)
this automatically brings it to efl-one, which makes this easier.

Differential Revision: https://phab.enlightenment.org/D11892

src/lib/eina/meson.build

index d3d140d..0a25cb8 100644 (file)
@@ -396,11 +396,6 @@ install_headers(public_sub_headers,
   install_dir : join_paths(dir_package_include, 'eina')
 )
 
-automatic_pkgfile = false
-
-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 + eina_pc_deps,
-)
+package_header_subdirs += 'eina'
+#special case here to support -lm -ldl -threads
+eina_pub_deps += eina_pc_deps