summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-09-24 14:54:59 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-09-24 14:56:24 +0200
commitb1327f977ffaa5b1789fd5987f621fa9b35a2a08 (patch)
treeb29d3f5a3d855b9f3c0b8313537ea14677b050d5
parent741fd5406dddfe3463d4ac348d81b618d72aee3d (diff)
downloadgtk3-tqt-engine-b1327f977ffaa5b1789fd5987f621fa9b35a2a08.tar.gz
gtk3-tqt-engine-b1327f977ffaa5b1789fd5987f621fa9b35a2a08.zip
Fix FTBFS in case TQt3 is not installed in the system directory.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 0e2c72790799d6043225910bd437bd54f5cc6989)
-rw-r--r--tdegtk/Makefile.am8
1 files changed, 3 insertions, 5 deletions
diff --git a/tdegtk/Makefile.am b/tdegtk/Makefile.am
index 54a5db3..f1886dc 100644
--- a/tdegtk/Makefile.am
+++ b/tdegtk/Makefile.am
@@ -44,9 +44,8 @@ libtdegtk_la_SOURCES = $(source_h) $(source_c)
libtdegtk_la_CFLAGS = $(KDE_CFLAGS) $(CAIRO_CFLAGS) $(GTK3_CFLAGS)
libtdegtk_la_CXXFLAGS = $(KDE_CXXFLAGS) $(KDE_CFLAGS) $(CAIRO_CFLAGS) $(GTK3_CFLAGS)
-libtdegtk_la_LIBADD = $(KDE_LIBADD) libtqtcairo.la $(all_libraries) $(CAIRO_LIBS) $(GTK3_LIBS) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI)
-
-libtdegtk_la_LDFLAGS = $(KDE_LDFLAGS) $(CAIRO_LIBS) $(GTK3_LIBS)
+libtdegtk_la_LIBADD = $(KDE_LIBADD) libtqtcairo.la $(CAIRO_LIBS) $(GTK3_LIBS) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI)
+libtdegtk_la_LDFLAGS = $(all_libraries) $(KDE_LDFLAGS) $(CAIRO_LIBS) $(GTK3_LIBS)
lib_LTLIBRARIES = libtqtcairo.la
@@ -56,5 +55,4 @@ libtqtcairo_la_CFLAGS = $(KDE_CFLAGS) $(CAIRO_CFLAGS) $(GTK3_CFLAGS)
libtqtcairo_la_CXXFLAGS = $(KDE_CXXFLAGS) $(KDE_CFLAGS) $(CAIRO_CFLAGS) $(GTK3_CFLAGS)
libtqtcairo_la_LIBADD = $(KDE_LIBADD) $(LIB_QT) $(LIB_TDEUI)
-
-libtqtcairo_la_LDFLAGS = $(KDE_LDFLAGS) $(CAIRO_LIBS) $(GTK3_LIBS)
+libtqtcairo_la_LDFLAGS = $(all_libraries) $(KDE_LDFLAGS) $(CAIRO_LIBS) $(GTK3_LIBS)