aboutsummaryrefslogtreecommitdiff
path: root/addons/library.xbmc.addon
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2016-01-03 16:27:03 +0100
committerMemphiz <memphis@machzwo.de>2016-01-04 18:37:18 +0100
commit677b6b6f7efa29ac32d56984ad36b70ff6efc4d9 (patch)
tree9934986f3ec90d59d99ea4b48f3fdfb15c32ac69 /addons/library.xbmc.addon
parente0fe70ace4296cf93a45cc6c4ccbcb547d95afa6 (diff)
[library.kodi/librariy.xbmc] - fixed dylib names for osx/ios and don't wrap our addon libraries
Diffstat (limited to 'addons/library.xbmc.addon')
-rw-r--r--addons/library.xbmc.addon/libXBMC_addon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/library.xbmc.addon/libXBMC_addon.h b/addons/library.xbmc.addon/libXBMC_addon.h
index 8bf90b7df5..06f61bab56 100644
--- a/addons/library.xbmc.addon/libXBMC_addon.h
+++ b/addons/library.xbmc.addon/libXBMC_addon.h
@@ -52,6 +52,7 @@ typedef intptr_t ssize_t;
#else
#define ADDON_HELPER_ARCH "x86-osx"
#endif
+#define ADDON_HELPER_EXT ".dylib"
#else // linux
#if defined(__x86_64__)
#define ADDON_HELPER_ARCH "x86_64-linux"
@@ -66,9 +67,9 @@ typedef intptr_t ssize_t;
#else
#define ADDON_HELPER_ARCH "i486-linux"
#endif
+#define ADDON_HELPER_EXT ".so"
#endif
#include <dlfcn.h> // linux+osx
-#define ADDON_HELPER_EXT ".so"
#define ADDON_DLL_NAME "libXBMC_addon-" ADDON_HELPER_ARCH ADDON_HELPER_EXT
#define ADDON_DLL "/library.xbmc.addon/" ADDON_DLL_NAME
#endif