Commit c39f7535 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

misc/darwin_specific.c: Fix framework detection code.

parent a9015510
...@@ -76,7 +76,7 @@ void system_Init( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] ) ...@@ -76,7 +76,7 @@ void system_Init( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
for (i = 0; i < _dyld_image_count(); i++) for (i = 0; i < _dyld_image_count(); i++)
{ {
char * psz_img_name = _dyld_get_image_name(i); char * psz_img_name = _dyld_get_image_name(i);
if( strstr( psz_img_name, "VLC.framework/Version/Current/VLC" ) ) if( strstr( psz_img_name, "VLC.framework/Versions/Current/VLC" ) )
p_char = strdup( psz_img_name ); p_char = strdup( psz_img_name );
} }
......
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