build: remove dirs from iniparser find_library() call

The docs say:

> By default the library is searched for in the system library directory (e.g.
> /usr/lib).

So it should already do the right thing.
This commit is contained in:
Simon Ser 2021-04-17 11:39:08 +02:00
parent d1328e2f4b
commit 47f9e1ccea

View file

@ -26,7 +26,7 @@ rt = cc.find_library('rt')
pipewire = dependency('libpipewire-0.3', version: '>= 0.3.2') pipewire = dependency('libpipewire-0.3', version: '>= 0.3.2')
wayland_client = dependency('wayland-client') wayland_client = dependency('wayland-client')
wayland_protos = dependency('wayland-protocols', version: '>=1.14') wayland_protos = dependency('wayland-protocols', version: '>=1.14')
iniparser = cc.find_library('iniparser', dirs: [join_paths(get_option('prefix'),get_option('libdir'))]) iniparser = cc.find_library('iniparser')
epoll = dependency('', required: false) epoll = dependency('', required: false)
if (not cc.has_function('timerfd_create', prefix: '#include <sys/timerfd.h>') or if (not cc.has_function('timerfd_create', prefix: '#include <sys/timerfd.h>') or