From e0330abbbb2d8af416b277664838f31dcd365f00 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 12 May 2019 17:02:52 +0200 Subject: [PATCH] osg: fix build --- srcpkgs/osg/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/osg/template b/srcpkgs/osg/template index 3cf58111381..6e7e6fcf12c 100644 --- a/srcpkgs/osg/template +++ b/srcpkgs/osg/template @@ -23,6 +23,10 @@ homepage="http://www.openscenegraph.org" distfiles="https://github.com/openscenegraph/OpenSceneGraph/archive/OpenSceneGraph-${version}.tar.gz" checksum=930eb46f05781a76883ec16c5f49cfb29a059421db131005d75bec4d78401fd5 +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qemu-user-static" +fi + # Append CFLAGS and CXXFLAGS to set work around code which gcc6 would # otherwise regard as out-of-specification and allow it to produce a # working program.