From 0cd15043b304076533c1c02a37d6b455524ddb8e Mon Sep 17 00:00:00 2001 From: pierre Date: Mon, 10 Oct 2011 21:45:21 +0000 Subject: [PATCH] * Set a default dynamic linker for OpenBSD git-svn-id: trunk@19451 - --- compiler/systems/t_bsd.pas | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler/systems/t_bsd.pas b/compiler/systems/t_bsd.pas index 89a36da7b7..10dda97396 100644 --- a/compiler/systems/t_bsd.pas +++ b/compiler/systems/t_bsd.pas @@ -186,6 +186,10 @@ begin DllCmd[2]:='strip --strip-unneeded $EXE' else DllCmd[2]:='strip -x $EXE'; + { OpenBSD seems to use a wrong dynamic linker by default } + if target_info.system = system_i386_openbsd then + DynamicLinker:='/usr/libexec/ld.so' + else DynamicLinker:=''; end; end;