Skip to content

Commit

Permalink
Added libusb-1.0-0-dev to debian/control and removed .enabled() from …
Browse files Browse the repository at this point in the history
…meson.build

Trying to see if this gets libusb included in builds without having to force it on
  • Loading branch information
faha223 committed Jan 11, 2025
1 parent 8058f64 commit a25574b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Build-Depends: debhelper (>= 11),
libpcap-dev,
libslirp-dev,
libvulkan-dev,
libusb-1.0-0-dev,
Standards-Version: 3.9.8
Homepage: https://xemu.app
XS-Debian-Vcs-Browser: https://github.com/mborgerson/xemu
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2129,7 +2129,7 @@ if not get_option('usb_redir').auto() or have_system
endif
libusb = not_found
if not get_option('libusb').auto() or have_system
libusb = dependency('libusb-1.0', required: get_option('libusb').enabled(),
libusb = dependency('libusb-1.0', required: get_option('libusb'),
version: '>=1.0.13', method: 'pkg-config')
endif

Expand Down

0 comments on commit a25574b

Please sign in to comment.