From b93d86abbeb930faaea8c27a7d9655cb356003cb Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Wed, 19 Dec 2012 12:19:12 +0100 Subject: omx: Use has_suffix() instead of has_prefix() for the Broadcom hack --- tools/listcomponents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/listcomponents.c b/tools/listcomponents.c index 9a99c93..3933564 100644 --- a/tools/listcomponents.c +++ b/tools/listcomponents.c @@ -72,7 +72,7 @@ main (gint argc, gchar ** argv) } /* Hack for the Broadcom OpenMAX IL implementation */ - if (g_str_has_prefix (filename, "vc/lib/libopenmaxil.so")) { + if (g_str_has_suffix (filename, "vc/lib/libopenmaxil.so")) { gchar *bcm_host_filename; gchar *bcm_host_path; GModule *bcm_host_module; -- cgit v1.2.3