From b0c586879b8153278e788c6208aa49f9039a0e3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 27 Feb 2019 03:09:30 +0100 Subject: [PATCH] Fix the path for installing GTK3 libraries. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- configure.in.in | 2 ++ tdegtk/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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)