summaryrefslogtreecommitdiff
path: root/gusb/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* Fix version script check for GNU BFD linker on FreeBSDTing-Wei Lan2021-10-101-2/+3
| | | | | | | | | | | | | | | | | | On FreeBSD, symbols 'environ' and ' __progname' are defined in crt1.o and referenced by libc.so. This makes it different from platforms which define 'environ' in libc.so. GNU BFD linker fails to link an executable if these two symbols are not put into the global section of the version script because a shared library should not reference a local symbol defined in a different object file. GNU gold and LLVM LLD don't have the problem. This means the current check for --version-script fails on FreeBSD when GNU BFD linker is used. The failure can be avoided by linking a shared library instead of an executable, but meson doesn't support passing additional arguments to the compiler in its 'has_link_argument' method. Instead of adding these two unused symbols to the real version script, use a smaller version script specifically made for the test.
* Don't hard-code the list of OS supporting --version-scriptTing-Wei Lan2021-10-101-2/+3
| | | | | Instead of keeping a list of OS in the build file, it should be better to run a check to determine if it is supported by the linker.
* trivial: Fix a warning when used in a subprojectRichard Hughes2021-05-221-2/+1
| | | | | | | Fixes: DEPRECATION: Library was passed to the libraries keyword argument of a previous call to generate() method instead of first positional argument.
* Require *any* python3 to fix FreeBSD buildRichard Hughes2021-05-211-1/+1
|
* Properly set dylib versions on darwinCaleb Xu2020-08-031-0/+1
|
* Allow building GtkDoc when building as a subprojectRichard Hughes2020-06-241-0/+3
| | | | Fixes https://github.com/fwupd/fwupd/issues/2178
* generate-version-script: Don't hard-code the path of python3Ting-Wei Lan2020-03-241-0/+4
| | | | | | Python can be installed in different directories on different operating systems, so we can't hard-code the path of it. Instead, use meson to find it to avoid 'no such file or directory' error on the bad path.
* build: version-script should be supported everywhere except on darwin systemLaurent Bigonville2020-03-181-1/+1
| | | | Fixes: #34
* Validate the exported symbol list during checkRichard Hughes2020-02-201-0/+29
| | | | | This is the same script used by fwupd, and would have caught both recent issues with the exported symbol versions being incorrect.
* Add a thin glib wrapper around libusb_endpoint_descriptorEmmanuel Pacaud2020-01-201-0/+7
|
* Fix compilation on macOSRichard Hughes2019-12-041-1/+4
| | | | Fixes https://github.com/hughsie/libgusb/issues/11
* trivial: Create static and shared libraries where requiredRichard Hughes2019-12-031-1/+1
|
* trivial: Allow compiling as a subprojectRichard Hughes2019-11-231-0/+9
|
* Make gir generation optional.maxice82019-02-031-0/+2
| | | | fixes #13
* gusb/meson.build: pass -DGUSB_COMPILATION to gir compilermaxice82019-02-031-0/+1
| | | | | | | | This fixes cross building of gir using Yocto Project/Buildroot method. This is also done on atk with -DATK_COMPILATION and gdk-pixbuf with -DGDK_PIXBUF_COMPILATION.
* Add g_usb_version_string() for fwupdRichard Hughes2018-04-191-0/+1
|
* trivial: Remove dead meson codeRichard Hughes2017-12-191-1/+0
|
* Port to the Meson build systemRichard Hughes2017-12-191-0/+157