Link against libstdc++ and libc to avoid linking error for openbsd OS

git-svn-id: trunk@41982 -
This commit is contained in:
pierre 2019-05-04 12:41:46 +00:00
parent e7e96f98b2
commit b4baf9b49c

View File

@ -4,6 +4,10 @@ program tcppcl2;
{$mode objfpc}
{$L cpptcl2.o}
{$ifdef openbsd}
{$linklib stdc++}
{$linklib c}
{$endif}
type
TestClass = cppclass external