summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Winter <steffen.winter@proton.me>2024-01-15 15:55:04 +0100
committerSteffen Winter <steffen.winter@proton.me>2024-01-15 15:55:04 +0100
commit05da55c54995147beb70bd590fd1e7bf29b329e7 (patch)
treeb0b6aa1cdcd18352b9e329d61bf9019eeae5f2de
parente936339038dc77ded0b51ab3f3b1341808a85e4e (diff)
Fix abort in locale detection on OpenBSD
For whatever reason catch doesn't work for exceptions thrown in a dynamically linked library and the program aborts.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ed80899..30ce82d 100644
--- a/Makefile
+++ b/Makefile
@@ -143,7 +143,7 @@ else ifeq ($(PLATFORM_LC),macos)
else ifeq ($(PLATFORM_LC),openbsd)
PLATFORM_DIR := openbsd
THREADS := $(shell sysctl -n hw.ncpu || echo 1)
- override ADDFLAGS += -lkvm
+ override ADDFLAGS += -lkvm -static-libstdc++
export MAKE = gmake
SU_GROUP := wheel
else