Explicitly link libechonest statically instead of relying on the default (which is changed to SHARED by rpmbuild)

This commit is contained in:
David Sansome 2011-11-30 19:10:14 +00:00
parent ed154b463c
commit 00c6d20c3f
1 changed files with 1 additions and 1 deletions

View File

@ -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)