VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Build
diff options
context:
space:
mode:
authorkokokodak <82901997+kokokodak@users.noreply.github.com>2021-07-14 14:43:34 +0300
committerGitHub <noreply@github.com>2021-07-14 13:43:34 +0200
commitc8830a04b4adc3048b76c658fa1084e749f188da (patch)
treeeebca034aa351f33461d8980e478eb7cbe27c825 /src/Build
parent0ff7f4548a433b10fa9eb5c61bbe589eb6b9eed1 (diff)
downloadVeraCrypt-c8830a04b4adc3048b76c658fa1084e749f188da.tar.gz
VeraCrypt-c8830a04b4adc3048b76c658fa1084e749f188da.zip
Add support for OpenBSD (#779)
* OpenBSD: add basic support modified: Build/Include/Makefile.inc modified: Driver/Fuse/FuseService.cpp modified: Main/FatalErrorHandler.cpp modified: Makefile modified: Platform/Unix/File.cpp modified: Platform/Unix/FilesystemPath.cpp modified: Platform/Unix/SystemInfo.cpp * OpenBSD: some necessary files were missing new file: Core/Unix/OpenBSD/CoreOpenBSD.cpp new file: Core/Unix/OpenBSD/CoreOpenBSD.h new file: Core/Unix/OpenBSD/System.h
Diffstat (limited to 'src/Build')
-rw-r--r--src/Build/Include/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Build/Include/Makefile.inc b/src/Build/Include/Makefile.inc
index ba166b69..4c153657 100644
--- a/src/Build/Include/Makefile.inc
+++ b/src/Build/Include/Makefile.inc
@@ -51,7 +51,11 @@ endif
# Embedded files
+ifeq "$(PLATFORM)" "OpenBSD"
+OD_BIN := ggod -v -t u1 -A n
+else
OD_BIN := od -v -t u1 -A n
+endif
TR_SED_BIN := tr '\n' ' ' | tr -s ' ' ',' | sed -e 's/^,//g' -e 's/,$$/n/' | tr 'n' '\n'
%.xml.h: %.xml