void-packages/srcpkgs/libgusb/patches/fix-cross-gir.patch

14 lines
334 B
Diff
Raw Normal View History

2019-02-03 18:33:22 +01:00
diff --git a/gusb/meson.build b/gusb/meson.build
index 5276259..b6a04d5 100644
--- gusb/meson.build
+++ gusb/meson.build
@@ -113,6 +113,7 @@ libgusb_girtarget = gnome.generate_gir(gusb,
export_packages : 'gusb',
extra_args : [
'--c-include=gusb.h',
+ '-DGUSB_COMPILATION',
],
link_with : gusb,
dependencies : [