summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-02-27 03:09:30 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-02-27 03:09:30 +0100
commitb0c586879b8153278e788c6208aa49f9039a0e3b (patch)
tree9a2b9de1b4b072ecc8cc5d6acd741cf1219d8206
parent6e92f7e9baf2529dae6b73447af6e7d7fb8b18f4 (diff)
downloadgtk3-tqt-engine-b0c58687.tar.gz
gtk3-tqt-engine-b0c58687.zip
Fix the path for installing GTK3 libraries.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--configure.in.in2
-rw-r--r--tdegtk/Makefile.am2
2 files changed, 3 insertions, 1 deletions
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)