]> jfr.im git - irc/hexchat/hexchat.git/commitdiff
Fix build on FreeBSD
authorpkubaj <redacted>
Sun, 22 Dec 2019 13:50:57 +0000 (13:50 +0000)
committerPatrick <redacted>
Mon, 23 Dec 2019 04:45:16 +0000 (20:45 -0800)
plugins/sysinfo/meson.build

index 8b67da2e29e82fda29fefeebdd8c45536f170613..7e2cdb6c593dc9a86d8916e2157e18574ff8d1f8 100644 (file)
@@ -13,13 +13,13 @@ sysinfo_includes = []
 sysinfo_cargs = []
 
 system = host_machine.system()
-if system == 'linux' or system == 'gnu' or system.startswith('gnu/') or system == 'darwin'
+if system == 'linux' or system == 'gnu' or system.startswith('gnu/') or system == 'darwin' or system == 'freebsd'
   sysinfo_includes += 'shared'
   sysinfo_sources += [
     'shared/df.c'
   ]
 
-  if system == 'linux' or system == 'gnu' or system.startswith('gnu/')
+  if system == 'linux' or system == 'gnu' or system.startswith('gnu/') or system == 'freebsd'
     libpci = dependency('libpci', required: false, method: 'pkg-config')
     if libpci.found()
       sysinfo_deps += libpci