kbugbuster: Build only the PIC variant of the static backend library.

This should resolve the occasional FTBFS caused by double generation
of the same MOC files.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/9/head
Slávek Banko 4 years ago
parent 956b575acf
commit f49ad59af0
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -38,7 +38,7 @@ install( FILES kbugbuster.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
tde_add_executable( kbugbuster
SOURCES main.cpp
LINK
kbbmainwindow-static kbbbackend_nopic-static
kbbmainwindow-static kbbbackend-static
tdeutils-shared tdeio-shared tdehtml-shared
DESTINATION ${BIN_INSTALL_DIR}
)

@ -26,12 +26,6 @@ set( SRCS
rdfprocessor.cpp htmlparser.cpp kbbprefs.cpp
)
tde_add_library( kbbbackend_nopic STATIC AUTOMOC
tde_add_library( kbbbackend STATIC_PIC AUTOMOC
SOURCES ${SRCS}
)
if( WITH_KCAL )
tde_add_library( kbbbackend_pic STATIC_PIC AUTOMOC
SOURCES ${SRCS}
)
endif( )

@ -38,6 +38,6 @@ tde_add_kpart( kcal_bugzilla AUTOMOC
SOURCES
kcalresource.cpp kcalresourceconfig.cpp
kcalresource_plugin.cpp resourceprefs.kcfgc
LINK kbbbackend_pic-static tdecore-shared tdeio-shared tdeabc kcal tderesources
LINK kbbbackend-static tdecore-shared tdeio-shared tdeabc kcal tderesources
DESTINATION ${PLUGIN_INSTALL_DIR}
)

Loading…
Cancel
Save