#if defined(_LINUX) && !defined(__APPLE__)
#define DLL_PATH_FLAC_CODEC "@FLAC_SONAME@"
#define DLL_PATH_MODPLUG_CODEC "@MODPLUG_SONAME@"
+#define DLL_PATH_OGG_CODEC "@VORBISFILE_SONAME@"
#else
#define DLL_PATH_FLAC_CODEC "special://xbmcbin/system/players/paplayer/libFLAC-@ARCH@.so"
#define DLL_PATH_MODPLUG_CODEC "special://xbmcbin/system/players/paplayer/libmodplug-@ARCH@.so"
+#define DLL_PATH_OGG_CODEC "@executable_path/../Frameworks/@VORBISFILE_SONAME@"
#endif
-#define DLL_PATH_OGG_CODEC "@VORBISFILE_SONAME@"
/* dvdplayer */
#define DLL_PATH_LIBASS "special://xbmcbin/system/players/dvdplayer/libass-@ARCH@.so"
/* cdrip */
#if defined(_LINUX) && !defined(__APPLE__)
#define DLL_PATH_LAME_ENC "libmp3lame.so.0"
-#else
-#define DLL_PATH_LAME_ENC "special://xbmcbin/system/cdrip/lame_enc-@ARCH@.so"
-#endif
#define DLL_PATH_OGG "@OGG_SONAME@"
#define DLL_PATH_VORBIS_ENC "@VORBISENC_SONAME@"
#define DLL_PATH_VORBIS "@VORBIS_SONAME@"
+#else
+#define DLL_PATH_LAME_ENC "special://xbmcbin/system/cdrip/lame_enc-@ARCH@.so"
+#define DLL_PATH_OGG "@executable_path/../Frameworks/@OGG_SONAME@"
+#define DLL_PATH_VORBIS_ENC "@executable_path/../Frameworks/@VORBISENC_SONAME@"
+#define DLL_PATH_VORBIS "@executable_path/../Frameworks/@VORBIS_SONAME@"
+#endif
/* broadcom crystalhd */
#if defined(_LINUX) && !defined(__APPLE__)