Commit cc98b2cd authored by Pierre d'Herbemont's avatar Pierre d'Herbemont
Browse files

misc/darwin_specific.c: Fix framework detection.

parent d2c43d05
......@@ -75,7 +75,8 @@ void system_Init( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
for (i = 0; i < _dyld_image_count(); i++)
{
char * psz_img_name = _dyld_get_image_name(i);
if( !strstr( psz_img_name, "VLC.framework/Version/Current/Framework/VLC" ) )
printf("%s\n", psz_img_name );
if( strstr( psz_img_name, "VLC.framework/Version/Current/VLC" ) )
p_char = strdup( psz_img_name );
}
......
Supports Markdown
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