summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-12-19 12:19:12 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-12-19 12:19:12 +0100
commitb93d86abbeb930faaea8c27a7d9655cb356003cb (patch)
treed8e0156da259d26f4519e8d68659873d62c6833a /tools
parent7ab0910cc3d64551483c1e82c7718a735f9cdad3 (diff)
omx: Use has_suffix() instead of has_prefix() for the Broadcom hack
Diffstat (limited to 'tools')
-rw-r--r--tools/listcomponents.c2
1 files changed, 1 insertions, 1 deletions
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;