Browse Source

Fix the path for installing GTK3 libraries.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
master
Slávek Banko 3 months ago
parent
commit
b0c586879b
Signed by: Slávek Banko <slavek.banko@axis.cz> GPG Key ID: 608F5293A04BE668
2 changed files with 3 additions and 1 deletions
  1. 2
    0
      configure.in.in
  2. 1
    1
      tdegtk/Makefile.am

+ 2
- 0
configure.in.in View File

@@ -79,6 +79,7 @@ if test -n "$PKGCONFIG"; then
79 79
      GTK3_CFLAGS="`$PKGCONFIG gtk+-3.0 --cflags`"
80 80
      GTK3_PREFIX=`$PKG_CONFIG --variable=prefix gtk+-3.0`
81 81
      GTK3_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-3.0`
82
+     GTK3_LIBDIR=`$PKG_CONFIG --variable=libdir gtk+-3.0`
82 83
 
83 84
      AC_DEFINE_UNQUOTED(HAVE_GTK3, 1, [Defines if your system has the GTK3 library])
84 85
   fi
@@ -99,6 +100,7 @@ AC_SUBST(GTK3_LIBS)
99 100
 AC_SUBST(GTK3_CFLAGS)
100 101
 AC_SUBST(GTK3_RPATH)
101 102
 AC_SUBST(GTK3_PREFIX)
103
+AC_SUBST(GTK3_LIBDIR)
102 104
 AC_SUBST(GTK3_VERSION)
103 105
 
104 106
 AM_CONDITIONAL(have_openexr, test -n "$GTK3_LIBS")

+ 1
- 1
tdegtk/Makefile.am View File

@@ -36,7 +36,7 @@ source_c = \
36 36
 	$(srcdir)/tdegtk-baseengine.cpp \
37 37
 	$(srcdir)/tdegtk-theme.cpp
38 38
 
39
-enginedir = $(GTK3_PREFIX)/lib/gtk-3.0/$(GTK3_VERSION)/theming-engines
39
+enginedir = $(GTK3_PREFIX)/$(GTK3_LIBDIR)/gtk-3.0/$(GTK3_VERSION)/theming-engines
40 40
 engine_LTLIBRARIES = libtdegtk.la
41 41
 
42 42
 libtdegtk_la_SOURCES = $(source_h) $(source_c)

Loading…
Cancel
Save