mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 02:35:23 +03:00
16 lines
518 B
Diff
16 lines
518 B
Diff
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -8,13 +8,6 @@
|
|
)
|
|
|
|
version = '@0@'.format(meson.project_version())
|
|
-prog_git = find_program('git', required: false)
|
|
-if prog_git.found()
|
|
- git_description = run_command([prog_git.path(), 'describe', '--dirty', '--always', '--tags'])
|
|
- if git_description.returncode() == 0
|
|
- version = git_description.stdout().strip()
|
|
- endif
|
|
-endif
|
|
add_project_arguments('-DIMV_VERSION="@0@"'.format(version), language: 'c')
|
|
|
|
add_project_arguments('-D_XOPEN_SOURCE=700', language: 'c')
|