]> err.no Git - systemd/commitdiff
gobject-introspection: use $datadir instead of $prefix
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 7 Jan 2010 16:16:23 +0000 (17:16 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 7 Jan 2010 16:16:23 +0000 (17:16 +0100)
configure.ac

index 836c30d5e3c27182b408a617fc0267a00aaa147c..82e215cd68935d830aec73939ee7708126956a08 100644 (file)
@@ -93,7 +93,7 @@ if test "x$enable_introspection" = xyes; then
        AC_SUBST([G_IR_SCANNER], [$($PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0)])
        AC_SUBST([G_IR_COMPILER], [$($PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0)])
        AC_SUBST([G_IR_GENERATE], [$($PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0)])
-       AC_SUBST([GIRDIR], [$($PKG_CONFIG --define-variable=prefix=${prefix} --variable=girdir gobject-introspection-1.0)])
+       AC_SUBST([GIRDIR], [$($PKG_CONFIG --define-variable=datadir=${datadir} --variable=girdir gobject-introspection-1.0)])
        AC_SUBST([GIRTYPELIBDIR], [$($PKG_CONFIG --define-variable=libdir=${libdir} --variable=typelibdir gobject-introspection-1.0)])
 fi
 AM_CONDITIONAL([ENABLE_INTROSPECTION], [test "x$enable_introspection" = xyes])