Static builds stopped working
Hi there, I used to build a static lib with 0.17, however this has stopped working with 0.18 and only a shared lib is built.
- configure command:
meson build --prefix /home/embybuilder/Buildbot/x64/libpciaccess-x64/staging --cross-file /home/embybuilder/Buildbot/x64/meson/cross.txt --default-library static -Dbuildtype=release -Dzlib=disabled
libpciaccess 0.18
User defined options
Cross files : /home/embybuilder/Buildbot/x64/meson/cross.txt
buildtype : release
default_library: static
prefix : /home/embybuilder/Buildbot/x64/libpciaccess-x64/staging
zlib : disabled
And yet:
ninja: Entering directory `build'
[1/15] Compiling C object src/libpciaccess.so.0.11.1.p/common_map.c.o
[2/15] Compiling C object src/libpciaccess.so.0.11.1.p/common_init.c.o
../src/common_init.c: In function 'pci_system_cleanup':
../src/common_init.c:108:3: warning: 'pci_device_unmap_region' is deprecated [-Wdeprecated-declarations]
108 | (void) pci_device_unmap_region( & pci_sys->devices[i].base, j );
| ^
In file included from ../src/common_init.c:38:
../include/pciaccess.h:88:18: note: declared here
88 | int __deprecated pci_device_unmap_region(struct pci_device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~~
[3/15] Compiling C object src/libpciaccess.so.0.11.1.p/common_capability.c.o
[4/15] Compiling C object src/libpciaccess.so.0.11.1.p/common_iterator.c.o
[5/15] Compiling C object src/libpciaccess.so.0.11.1.p/common_io.c.o
[6/15] Compiling C object src/libpciaccess.so.0.11.1.p/common_bridge.c.o
[7/15] Compiling C object src/libpciaccess.so.0.11.1.p/common_interface.c.o
[8/15] Compiling C object src/libpciaccess.so.0.11.1.p/common_device_name.c.o
[9/15] Compiling C object src/libpciaccess.so.0.11.1.p/linux_devmem.c.o
[10/15] Compiling C object scanpci/scanpci.p/scanpci.c.o
[11/15] Compiling C object src/libpciaccess.so.0.11.1.p/common_vgaarb.c.o
[12/15] Compiling C object src/libpciaccess.so.0.11.1.p/linux_sysfs.c.o
[13/15] Linking target src/libpciaccess.so.0.11.1
[14/15] Generating symbol file src/libpciaccess.so.0.11.1.p/libpciaccess.so.0.11.1.symbols
[15/15] Linking target scanpci/scanpci