build: Don't use Wayland GtkClipboard implementation if also building for X

Workaround for: https://bugzilla.gnome.org/show_bug.cgi?id=672358
This commit is contained in:
Rob Bradford 2012-03-22 12:11:57 +00:00
parent 4e8f724391
commit 13b2720308

View File

@ -904,6 +904,7 @@ gtk_clipboard_dnd_c_sources = \
gtkdnd-quartz.c
else
if USE_WAYLAND
if !USE_X11
# No wayland gtkdnd-wayland.c yet
gtk_clipboard_dnd_c_sources = \
gtkclipboard-wayland.c \
@ -911,6 +912,9 @@ gtk_clipboard_dnd_c_sources = \
else
gtk_clipboard_dnd_c_sources = gtkclipboard.c gtkdnd.c
endif
else
gtk_clipboard_dnd_c_sources = gtkclipboard.c gtkdnd.c
endif
endif
# we use our own built_sources variable rules to avoid automake's