From 00c6d20c3f5d4c5c10c294afc431d265f7c8454a Mon Sep 17 00:00:00 2001 From: David Sansome Date: Wed, 30 Nov 2011 19:10:14 +0000 Subject: [PATCH] Explicitly link libechonest statically instead of relying on the default (which is changed to SHARED by rpmbuild) --- 3rdparty/libechonest/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/libechonest/CMakeLists.txt b/3rdparty/libechonest/CMakeLists.txt index 74231b213..af2fecc26 100644 --- a/3rdparty/libechonest/CMakeLists.txt +++ b/3rdparty/libechonest/CMakeLists.txt @@ -52,7 +52,7 @@ ELSE( APPLE OR MINGW ) ENDIF( APPLE OR MINGW ) -add_library( echonest ${LIBECHONEST_SRC} ) +add_library( echonest STATIC ${LIBECHONEST_SRC} ) target_link_libraries( echonest ${OS_SPECIFIC_LINK_LIBRARIES} ${QT_QTCORE_LIBRARY} ${QT_QTNETWORK_LIBRARY} ) foreach(file ${LIBECHONEST_H} echonest_export.h Util.h)