Skip to content

Commit

Permalink
add pymod.find_installation patch to cli11
Browse files Browse the repository at this point in the history
I think this works??
  • Loading branch information
nshaheed committed Oct 12, 2024
1 parent c3300dd commit 1a0e438
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions subprojects/cli11.wrap
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ source_hash = f2d893a65c3b1324c50d4e682c0cdc021dd0477ae2c048544f39eed6654b699a
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/cli11_2.4.2-1/CLI11-2.4.2.tar.gz
wrapdb_version = 2.4.2-1

diff_files = cli11.patch

[provide]
cli11 = CLI11_dep
15 changes: 15 additions & 0 deletions subprojects/packagefiles/cli11.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/single-include/meson.build b/single-include/meson.build
index ee58adf..decf8b2 100644
--- a/single-include/meson.build
+++ b/single-include/meson.build
@@ -2,7 +2,9 @@
# meson.build here when generating the single file header so that it is placced
# in the correct location.

-prog_python = find_program('python')
+pymod = import('python')
+prog_python = pymod.find_installation()
+message('did this work???? I don t know')

single_main_file = files('CLI11.hpp.in')

0 comments on commit 1a0e438

Please sign in to comment.