diff --git a/srcpkgs/gfbgraph/template b/srcpkgs/gfbgraph/template index 37e4fee286c..e4480af9828 100644 --- a/srcpkgs/gfbgraph/template +++ b/srcpkgs/gfbgraph/template @@ -17,7 +17,9 @@ checksum=6065391f35e7335588cc6b0cc4c1abbce7341488573a654551264cb9793b9379 build_options="gir" build_options_default="gir" -if [ -z "$CROSS_BUILD" ]; then +if [ "$CROSS_BUILD" ]; then + configure_args+=" --disable-gtk-doc" +else configure_args+=" --enable-gtk-doc" fi