summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-17 05:03:03 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-17 05:03:03 +0000
commitd3cf5b3e75aadc3b02d0b56f030d4c3f8c2c749d (patch)
tree7a9cf60ad62c95d443211217991f197e06b62c03
parenta34f8d19f599ba6039b35b0245d46e5273333360 (diff)
downloadbasket-d3cf5b3e75aadc3b02d0b56f030d4c3f8c2c749d.tar.gz
basket-d3cf5b3e75aadc3b02d0b56f030d4c3f8c2c749d.zip
Add missing linker flags
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1075964 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--file-integration/Makefile.am2
-rw-r--r--src/Makefile.am10
2 files changed, 6 insertions, 6 deletions
diff --git a/file-integration/Makefile.am b/file-integration/Makefile.am
index f525b54..79efdcb 100644
--- a/file-integration/Makefile.am
+++ b/file-integration/Makefile.am
@@ -11,7 +11,7 @@ INCLUDES = $(all_includes)
kde_module_LTLIBRARIES = basketthumbcreator.la
basketthumbcreator_la_SOURCES = basketthumbcreator.cpp
basketthumbcreator_la_LIBADD = $(LIB_KIO)
-basketthumbcreator_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+basketthumbcreator_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx
kde_services_DATA = basketthumbcreator.desktop
# Icons:
diff --git a/src/Makefile.am b/src/Makefile.am
index a392f0e..40e5b0c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -29,10 +29,10 @@ lib_LTLIBRARIES = libbasketcommon.la
AM_CPPFLAGS = $(GPGME_CFLAGS)
-libbasketcommon_la_LDFLAGS = -avoid-version -no-undefined $(all_libraries)
+libbasketcommon_la_LDFLAGS = -avoid-version -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -ldl -lartsc -lartskde -lartskde
libbasketcommon_la_LIBADD = $(LIB_ARTSKDE) -lkio $(LIB_KDEUI) $(LIB_KDECORE) \
- $(LIB_QT) $(LIBSOCKET) $(GPGME_LIBS) $(LIB_KPARTS) -lDCOP -lkdefx -lkdeui
+ $(LIB_QT) $(LIBSOCKET) $(GPGME_LIBS) $(LIB_KPARTS) -lDCOP -lkdefx -lkdeui -lkdecore $(LIB_QT) -lkdefx -ldl -lartsc
libbasketcommon_la_SOURCES = \
archive.cpp bnpview.cpp settings.cpp basket.cpp basketproperties.cpp \
@@ -55,7 +55,7 @@ libbasketcommon_la_SOURCES = \
bin_PROGRAMS = basket
# the application source, library search path, and link libraries
-basket_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_KUTILS)
+basket_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_KUTILS) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -ldl -lartsc -lartskde -lartskde
basket_LDADD = libbasketcommon.la
# this is where the desktop file will go
@@ -81,11 +81,11 @@ kde_icon_KDEICON = cr128-app-basket.png cr16-app-basket.png cr22-app-basket.png
kde_module_LTLIBRARIES = kcm_basket.la libbasketpart.la
libbasketpart_la_SOURCES = basket_part.cpp
-libbasketpart_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module -avoid-version -no-undefined
+libbasketpart_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module -avoid-version -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -ldl -lartsc -lartskde -lartskde
libbasketpart_la_LIBADD = libbasketcommon.la -lkparts -lkdeui $(LIB_KDECORE) $(LIB_QT) -lDCOP
kcm_basket_la_SOURCES = kcm_basket.cpp
-kcm_basket_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
+kcm_basket_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -ldl -lartsc -lartskde
kcm_basket_la_LIBADD = libbasketcommon.la $(LIB_KDECORE) $(LIB_QT) -lkdeui
# this is where the desktop file will go