summaryrefslogtreecommitdiff
path: root/src/lib/cross_windows.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-14 13:04:16 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-14 13:04:16 +0200
commit4c804a0d92ebd03b70bfc7f736fcaf5f77cb3bb7 (patch)
treeed4d7080771f529980f1dafe48347ee4e2795c37 /src/lib/cross_windows.cc
parentff623a7f045575169820b28a9e1d4ee10ec2fb69 (diff)
Add xsd_path() and use it to fix access to .xsd files on Linux (#1830).
Diffstat (limited to 'src/lib/cross_windows.cc')
-rw-r--r--src/lib/cross_windows.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/cross_windows.cc b/src/lib/cross_windows.cc
index 337750dcb..272467bd3 100644
--- a/src/lib/cross_windows.cc
+++ b/src/lib/cross_windows.cc
@@ -200,6 +200,13 @@ shared_path ()
boost::filesystem::path
+xsd_path ()
+{
+ return directory_containing_executable().parent_path() / "xsd";
+}
+
+
+boost::filesystem::path
openssl_path ()
{
return directory_containing_executable() / "openssl.exe";