diff options
Diffstat (limited to 'extra/phonon/fix-plugindir-for-qt-app.patch')
-rw-r--r-- | extra/phonon/fix-plugindir-for-qt-app.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/phonon/fix-plugindir-for-qt-app.patch b/extra/phonon/fix-plugindir-for-qt-app.patch new file mode 100644 index 000000000..376f294f7 --- /dev/null +++ b/extra/phonon/fix-plugindir-for-qt-app.patch @@ -0,0 +1,11 @@ +--- a/phonon/CMakeLists.txt ++++ b/phonon/CMakeLists.txt +@@ -78,7 +78,7 @@ if (PHONON_NO_PLATFORMPLUGIN) + add_definitions(-DQT_NO_PHONON_PLATFORMPLUGIN) + endif (PHONON_NO_PLATFORMPLUGIN) + +-add_definitions(-DPHONON_LIBRARY_PATH="${PLUGIN_INSTALL_DIR}/plugins") ++add_definitions(-DPHONON_LIBRARY_PATH="${CMAKE_INSTALL_PREFIX}/${PLUGIN_INSTALL_DIR}/plugins") + + automoc4_add_library(phonon SHARED ${phonon_LIB_SRCS}) + target_link_libraries(phonon ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY}) |