[vlc-devel] commit: compilation fix ( Felix Paul Kühne )
git version control
git at videolan.org
Mon Jun 22 20:20:28 CEST 2009
vlc | branch: 1.0-bugfix | Felix Paul Kühne <fkuehne at videolan.org> | Mon Jun 22 20:20:14 2009 +0200| [f371b8713dfa506d69b450e9b4b56c6ac572d881] | committer: Felix Paul Kühne
compilation fix
... or hack. A clean fix will be the next master commit, which removes the dyld usage completely
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f371b8713dfa506d69b450e9b4b56c6ac572d881
---
src/modules/os.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/modules/os.c b/src/modules/os.c
index f6d2cc5..30c5c13 100644
--- a/src/modules/os.c
+++ b/src/modules/os.c
@@ -41,6 +41,11 @@
# include <sys/types.h>
#endif
+#if defined(__APPLE__) && defined(__x86_64__)
+# define HAVE_DL_DLOPEN 1
+# define HAVE_DLFCN_H 1
+#endif
+
#if !defined(HAVE_DYNAMIC_PLUGINS)
/* no support for plugins */
#elif defined(HAVE_DL_DYLD) && !defined(__x86_64__)
More information about the vlc-devel
mailing list