mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-01 03:03:58 +00:00
meson: Add linking to x86 iopl libs on BSDs.
Ported from automake. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
9869512cbf
commit
db53c439ba
2 changed files with 8 additions and 2 deletions
|
|
@ -343,12 +343,10 @@ if host_machine.system() == 'freebsd' or host_machine.system() == 'dragonflybsd'
|
|||
xorg_data.set('USE_DEV_IO', true)
|
||||
endif
|
||||
elif host_machine.system() == 'netbsd'
|
||||
# XXX: Add link to libi386
|
||||
if host_machine.cpu_family() == 'x86' or host_machine.cpu_family() == 'x86_64'
|
||||
xorg_data.set('USE_I386_IOPL', true)
|
||||
endif
|
||||
elif host_machine.system() == 'openbsd'
|
||||
# XXX: Add link to libi386, libamd64
|
||||
if host_machine.cpu_family() == 'x86'
|
||||
xorg_data.set('USE_I386_IOPL', true)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue