From eff28b88e4f94342df6892f73b9b36ff3f84a4f3 Mon Sep 17 00:00:00 2001 From: Sebastien Vincent Date: Wed, 8 May 2019 17:03:58 +0200 Subject: [PATCH] [build] Fixes compilation of samples on OpenBSD. --- samples/iconvplus/basic/SConscript | 2 +- samples/kfather/parsing/SConscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/iconvplus/basic/SConscript b/samples/iconvplus/basic/SConscript index 55368daa..f41f2c3d 100644 --- a/samples/iconvplus/basic/SConscript +++ b/samples/iconvplus/basic/SConscript @@ -7,7 +7,7 @@ libraries = [ 'boost_system', ] -if sys.platform.startswith('darwin'): +if sys.platform.startswith('darwin') or sys.platform.startswith('openbsd'): libraries.extend([ 'iconv', ]) diff --git a/samples/kfather/parsing/SConscript b/samples/kfather/parsing/SConscript index c2e5d909..ee6f2863 100644 --- a/samples/kfather/parsing/SConscript +++ b/samples/kfather/parsing/SConscript @@ -8,7 +8,7 @@ libraries = [ 'boost_system', ] -if sys.platform.startswith('darwin'): +if sys.platform.startswith('darwin') or sys.platform.startswith('openbsd'): libraries.extend([ 'iconv', ])