Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | gtk+ is required by linnotify. So make sure gtk be linked before libnotify |
| 2 | |
| 3 | Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> |
| 4 | |
| 5 | diff -Nurp imsettings-1.6.7.orig/configure.ac imsettings-1.6.7/configure.ac |
| 6 | --- imsettings-1.6.7.orig/configure.ac 2013-11-26 16:09:09.000000000 +0800 |
| 7 | +++ imsettings-1.6.7/configure.ac 2014-12-30 11:27:44.370003209 +0800 |
| 8 | @@ -93,8 +93,8 @@ PKG_CHECK_MODULES(LIBNOTIFY, libnotify, |
| 9 | has_old_libnotify=yes |
| 10 | PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED) |
| 11 | AC_DEFINE(HAS_OLD_LIBNOTIFY,, [Using older libnotify]) |
| 12 | - IMDAEMON_CFLAGS="$GTK_CFLAGS $LIBNOTIFY_OLD_CFLAGS" |
| 13 | - IMDAEMON_LIBS="$GTK_LIBS $LIBNOTIFY_OLD_LIBS"],[ |
| 14 | + IMDAEMON_CFLAGS="$LIBNOTIFY_OLD_CFLAGS $GTK_CFLAGS" |
| 15 | + IMDAEMON_LIBS="$LIBNOTIFY_OLD_LIBS $GTK_LIBS"],[ |
| 16 | has_old_libnotify=no |
| 17 | IMDAEMON_CFLAGS="$LIBNOTIFY_CFLAGS" |
| 18 | IMDAEMON_LIBS="$LIBNOTIFY_LIBS"]) |