Fix hidapi dependency by symlinking libusb.so to target libusb-1.0.so

This commit is contained in:
Colin Kinloch 2021-02-11 19:40:00 +00:00
parent 68b1edcb84
commit 1d218eddfa

View file

@ -28,6 +28,9 @@
"/lib/*.la",
"/lib/pkgconfig"
],
"post-install": [
"ln -s libusb-1.0.so /app/lib/libusb.so"
],
"sources": [
{
"type": "archive",
@ -44,7 +47,6 @@
"-DENABLE_ALSA=OFF",
"-DENABLE_SDL=ON",
"-DENABLE_EVDEV=OFF",
"-DENABLE_WX=OFF",
"-DDISTRIBUTOR=Flathub"
],
"build-options": {