2025-01-13 01:29:49 +00:00
|
|
|
Index: python-poppler-0.4.1/meson.build
|
|
|
|
===================================================================
|
|
|
|
--- python-poppler-0.4.1.orig/meson.build
|
|
|
|
+++ python-poppler-0.4.1/meson.build
|
|
|
|
@@ -13,7 +13,10 @@ poppler_dep = dependency('poppler-cpp',
|
|
|
|
python_mod = import('python')
|
|
|
|
python3 = python_mod.find_installation('python3', pure: false)
|
2020-10-08 10:03:10 +00:00
|
|
|
|
2025-01-13 01:29:49 +00:00
|
|
|
-pybind11_proj = subproject('pybind11')
|
|
|
|
-pybind11_dep = pybind11_proj.get_variable('pybind11_dep')
|
|
|
|
+pybind11_config = find_program('pybind11-config')
|
|
|
|
+pybind11_config_ret = run_command(pybind11_config, ['--includes'], check: true)
|
|
|
|
+pybind11_dep = declare_dependency(
|
|
|
|
+ include_directories: [pybind11_config_ret.stdout().split('-I')[-1].strip()],
|
|
|
|
+)
|
2020-10-08 10:03:10 +00:00
|
|
|
|
2025-01-13 01:29:49 +00:00
|
|
|
subdir('src')
|