-
-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build: Add libusb support to builds #1532
base: master
Are you sure you want to change the base?
Conversation
I converted this to a draft because the mac arm64 build is broken and I'm not sure how best to fix it. This is the problem: |
xemu macos builds pull library dependencies from macports, both x86-64 and arm64 for cross compilation. You can try adding libusb here https://github.com/xemu-project/xemu/blob/master/scripts/download-macos-libs.py |
…this fixes the build on arm64
…try to see where the problem is
…ckage issues. I suspect it'll fail on x86_64 now.
The the mac version is now building on both x86_64 and arm64 and the compile log indicates that libusb is enabled on both builds. I verified that the Ubuntu Release build is working with USB Passthrough via the monitor. using the following commands with auto-bind off: The Windows version builds, but is waiting on an updated docker image with the libusb1 package installed before it'll build with libusb passthrough enabled |
…t of the file in the FixMacOsBuild branch
build: Update arm64 target, handle target/arch independent pkg names
Changed the meson.build: in the following ways
Changed the libusb dependency to have 'required' set to true if enabled, otherwise false. This ensures that the build system looks for the library but doesn't fail if the library isn't found.
Updated the dockerfile in the following ways:
Changed the mxe commit to the latest one because of an issue with zlib caused by a dead link
Added libusb1 to the mxe packages installed
Relevant issue:
#1234