2 Commits

Author SHA1 Message Date
5d1c9ad40a build: remove unused meson options 2025-01-20 10:42:45 +03:00
caaf453c80 build: replace | head -n 1 with -print -quit 2025-01-20 10:40:54 +03:00
2 changed files with 1 additions and 2 deletions

View File

@@ -1 +0,0 @@
option('libphosh_version', type: 'string', value: '', description: 'Custom version of libphosh to use (default: 0.44)')

View File

@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
pc_file=$(find "/usr/lib64/pkgconfig" -maxdepth 1 -type f -name "libphosh-*.pc" | head -n 1) pc_file=$(find "/usr/lib64/pkgconfig" -maxdepth 1 -type f -name "libphosh-*.pc" -print -quit)
if [ -z "$pc_file" ]; then if [ -z "$pc_file" ]; then
echo "File libphosh-*.pc not found." echo "File libphosh-*.pc not found."