blob: 0bf0700d9473b2c60e98088816a2a8347397d674 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
--- addons/library.xbmc.addon/libXBMC_addon.h.orig
+++ addons/library.xbmc.addon/libXBMC_addon.h
@@ -40,15 +40,31 @@
#define ADDON_DLL "/library.xbmc.addon/libXBMC_addon-x86-osx.so"
#endif
#elif defined(__x86_64__)
+#ifdef __FreeBSD__
+#define ADDON_DLL "/library.xbmc.addon/libXBMC_addon-x86_64-freebsd.so"
+#else
#define ADDON_DLL "/library.xbmc.addon/libXBMC_addon-x86_64-linux.so"
+#endif
#elif defined(_POWERPC)
+#ifdef __FreeBSD__
+#define ADDON_DLL "/library.xbmc.addon/libXBMC_addon-powerpc-freebsd.so"
+#else
#define ADDON_DLL "/library.xbmc.addon/libXBMC_addon-powerpc-linux.so"
+#endif
#elif defined(_POWERPC64)
+#ifdef __FreeBSD__
+#define ADDON_DLL "/library.xbmc.addon/libXBMC_addon-powerpc64-freebsd.so"
+#else
#define ADDON_DLL "/library.xbmc.addon/libXBMC_addon-powerpc64-linux.so"
+#endif
#elif defined(_ARMEL)
#define ADDON_DLL "/library.xbmc.addon/libXBMC_addon-arm.so"
#else /* !__x86_64__ && !__powerpc__ */
+#ifdef __FreeBSD__
+#define ADDON_DLL "/library.xbmc.addon/libXBMC_addon-i386-freebsd.so"
+#else
#define ADDON_DLL "/library.xbmc.addon/libXBMC_addon-i486-linux.so"
+#endif
#endif /* __x86_64__ */
#endif /* _LINUX */
|