diff --git a/package/python-pylibftdi/0001-do-not-use-find-library.patch b/package/python-pylibftdi/0001-do-not-use-find-library.patch index ae8fe2dfad..192ed43e54 100644 --- a/package/python-pylibftdi/0001-do-not-use-find-library.patch +++ b/package/python-pylibftdi/0001-do-not-use-find-library.patch @@ -24,7 +24,7 @@ diff -purN pylibftdi-0.15.0.orig/pylibftdi/driver.py pylibftdi-0.15.0/pylibftdi/ if lib is None: - raise LibraryMissingError('{} library not found (search: {})'.format( - name, search_list)) -+ return cdll.LoadLibrary(name + '.so') ++ return cdll.LoadLibrary(name + '.so') + return lib