diff --git a/configure.ac b/configure.ac index eea40a416f..8a60e1aa16 100644 --- a/configure.ac +++ b/configure.ac @@ -735,8 +735,8 @@ AS_IF([test "${enable_gme}" != "no" -a "${HAVE_ZLIB}" = "yes"], [ AS_IF([test "${HAVE_DBUS}" = "yes" -a "${enable_notify}" != "no"], [ AS_IF([test "${enable_staticlink}" != "no"], [ HAVE_NOTIFY=yes - NOTIFY_DEPS_CFLAGS="${GTK3_310_CFLAGS}" - NOTIFY_DEPS_LIBS="${GTK3_310_LIBS}" + NOTIFY_DEPS_CFLAGS="${GTK2_216_CFLAGS}" + NOTIFY_DEPS_LIBS="${GDK_PIXBUF_LIBS}" AC_SUBST(NOTIFY_DEPS_CFLAGS) AC_SUBST(NOTIFY_DEPS_LIBS) ], [ diff --git a/scripts/static_build.sh b/scripts/static_build.sh index 04b23f4f81..f272efe344 100755 --- a/scripts/static_build.sh +++ b/scripts/static_build.sh @@ -32,6 +32,8 @@ elif [[ "$ARCH" == "x86_64" ]]; then export GTK2_216_CFLAGS="-I${GTK_ROOT_216}/include/gtk-2.0 -I${GTK_ROOT_216}/lib/gtk-2.0/include -I${GTK_ROOT_216}/include/atk-1.0 -I${GTK_ROOT_216}/include/cairo -I${GTK_ROOT_216}/include/pango-1.0 -I${GTK_ROOT_216}/include -I${GTK_ROOT_216}/include/glib-2.0 -I${GTK_ROOT_216}/lib/glib-2.0/include" export GTK2_216_LIBS="-L${GTK_ROOT_216}/lib -lgtk-x11-2.0 -lpango-1.0 -lcairo -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0" + export GDK_PIXBUF_LIBS="-lgdk_pixbuf-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0" + export GTK3_310_CFLAGS="-I${GTK_ROOT_310}/include/gtk-3.0 -I${GTK_ROOT_310}/include/at-spi2-atk/2.0 -I${GTK_ROOT_310}/include/at-spi-2.0 -I${GTK_ROOT_310}/include/dbus-1.0 -I${GTK_ROOT_310}/lib/dbus-1.0/include -I${GTK_ROOT_310}/include/gtk-3.0 -I${GTK_ROOT_310}/include/gio-unix-2.0/ -I${GTK_ROOT_310}/include/mirclient -I${GTK_ROOT_310}/include/mircore -I${GTK_ROOT_310}/include/mircookie -I${GTK_ROOT_310}/include/cairo -I${GTK_ROOT_310}/include/pango-1.0 -I${GTK_ROOT_310}/include/harfbuzz -I${GTK_ROOT_310}/include/pango-1.0 -I${GTK_ROOT_310}/include/atk-1.0 -I${GTK_ROOT_310}/include/cairo -I${GTK_ROOT_310}/include/pixman-1 -I${GTK_ROOT_310}/include/freetype2 -I${GTK_ROOT_310}/include/libpng12 -I${GTK_ROOT_310}/include/gdk-pixbuf-2.0 -I${GTK_ROOT_310}/include/libpng12 -I${GTK_ROOT_310}/include/glib-2.0 -I${GTK_ROOT_310}/lib/glib-2.0/include" export GTK3_310_LIBS="-L${GTK_ROOT_310}/lib -L${GTK_ROOT_310}/lib -L${GTK_ROOT_310}/lib/x86_64-linux-gnu -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0" else