Commit 5cc597e7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Set libvlc path for other platforms

parent 7bc7544c
......@@ -24,9 +24,18 @@
#include <vlc_common.h>
#include "../libvlc.h"
#include <pthread.h>
static void set_libvlc_path (void)
{
psz_vlcpath = (char *)PKGLIBDIR;
}
void system_Init (libvlc_int_t *libvlc, int *argc, const char *argv[])
{
pthread_once_t once = PTHREAD_ONCE_INIT;
pthread_once (&once, set_libvlc_path);
(void)libvlc; (void)argc; (void)argv;
}
......@@ -39,4 +48,3 @@ void system_End (libvlc_int_t *libvlc)
{
(void)libvlc;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment