libXmu should not try to build into a pure wayland platform.
[platform/upstream/libXmu.git] / packaging / libXmu.spec
index a961671..a3026d3 100644 (file)
@@ -1,3 +1,5 @@
+%bcond_with x
+
 Name:           libXmu
 Version:        1.1.1
 Release:        1
@@ -14,6 +16,10 @@ BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xorg-macros)
 BuildRequires:  pkgconfig(xt)
 
+%if !%{with x}
+ExclusiveArch:
+%endif
+
 %description
 X.Org X11 libXmu/libXmuu runtime libraries