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.