aboutsummaryrefslogtreecommitdiff
path: root/ports/libxml2/rcVersion.h.in
diff options
context:
space:
mode:
authorKai Pastor <dg0yt@darc.de>2021-04-23 20:06:50 +0200
committerGitHub <noreply@github.com>2021-04-23 11:06:50 -0700
commit30274be0ba97eb442dfef38911b3878e98d913f7 (patch)
treec50f07d5a0f181264bf55dbdd5464109b756b0e2 /ports/libxml2/rcVersion.h.in
parent22273d82ff2576f0e1be37e57cfff36f09ac3af1 (diff)
downloadvcpkg-30274be0ba97eb442dfef38911b3878e98d913f7.tar.gz
vcpkg-30274be0ba97eb442dfef38911b3878e98d913f7.zip
[libxml2] Pass version to rc via configured file (#17389)
* [libxml2] Pass version to rc via configured file This change fixes quotation issues with the dotted version string on mingw/Windows. * x-add-version
Diffstat (limited to 'ports/libxml2/rcVersion.h.in')
-rw-r--r--ports/libxml2/rcVersion.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/libxml2/rcVersion.h.in b/ports/libxml2/rcVersion.h.in
new file mode 100644
index 000000000..0ef94b97e
--- /dev/null
+++ b/ports/libxml2/rcVersion.h.in
@@ -0,0 +1,4 @@
+#define LIBXML_MAJOR_VERSION @LIBXML_MAJOR_VERSION@
+#define LIBXML_MINOR_VERSION @LIBXML_MINOR_VERSION@
+#define LIBXML_MICRO_VERSION @LIBXML_MICRO_VERSION@
+#define LIBXML_DOTTED_VERSION "@VERSION@"