OSDN Git Service

configure: use top_builddir for wayland_scanner_rules
[android-x86/hardware-intel-common-libva.git] / configure.ac
index ca20d2e..7f58ba5 100644 (file)
@@ -280,7 +280,7 @@ fi
 AM_CONDITIONAL(USE_WAYLAND, test "$USE_WAYLAND" = "yes")
 
 m4_ifdef([WAYLAND_SCANNER_RULES],
-    [WAYLAND_SCANNER_RULES(['$(top_srcdir)/va/wayland/protocol'])],
+    [WAYLAND_SCANNER_RULES(['$(top_builddir)/va/wayland/protocol'])],
     [wayland_scanner_rules=""; AC_SUBST(wayland_scanner_rules)])
 
 pkgconfigdir=${libdir}/pkgconfig