diff --git a/configure.in.in b/configure.in.in index 3b3d2d2..afebcb0 100644 --- a/configure.in.in +++ b/configure.in.in @@ -79,6 +79,7 @@ if test -n "$PKGCONFIG"; then GTK3_CFLAGS="`$PKGCONFIG gtk+-3.0 --cflags`" GTK3_PREFIX=`$PKG_CONFIG --variable=prefix gtk+-3.0` GTK3_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-3.0` + GTK3_LIBDIR=`$PKG_CONFIG --variable=libdir gtk+-3.0` AC_DEFINE_UNQUOTED(HAVE_GTK3, 1, [Defines if your system has the GTK3 library]) fi @@ -99,6 +100,7 @@ AC_SUBST(GTK3_LIBS) AC_SUBST(GTK3_CFLAGS) AC_SUBST(GTK3_RPATH) AC_SUBST(GTK3_PREFIX) +AC_SUBST(GTK3_LIBDIR) AC_SUBST(GTK3_VERSION) AM_CONDITIONAL(have_openexr, test -n "$GTK3_LIBS") diff --git a/tdegtk/Makefile.am b/tdegtk/Makefile.am index f146977..59d6c56 100644 --- a/tdegtk/Makefile.am +++ b/tdegtk/Makefile.am @@ -36,7 +36,7 @@ source_c = \ $(srcdir)/tdegtk-baseengine.cpp \ $(srcdir)/tdegtk-theme.cpp -enginedir = $(GTK3_PREFIX)/lib/gtk-3.0/$(GTK3_VERSION)/theming-engines +enginedir = $(GTK3_PREFIX)/$(GTK3_LIBDIR)/gtk-3.0/$(GTK3_VERSION)/theming-engines engine_LTLIBRARIES = libtdegtk.la libtdegtk_la_SOURCES = $(source_h) $(source_c)