merge r35638, fixed (again), need to ref from @executable_path path or loader will...
authordavilla <davilla@svn>
Wed, 15 Dec 2010 22:49:24 +0000 (22:49 +0000)
committerdavilla <davilla@svn>
Wed, 15 Dec 2010 22:49:24 +0000 (22:49 +0000)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/Dharma@35639 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

xbmc/DllPaths_generated.h.in

index 271e20d..6ab56da 100644 (file)
 #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__)