You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
950 B

  1. This is just workaround. It should be removed after proper fixing in upstream.
  2. Patch fixes problem with lmdb pkg confing. It also adds workaround for get_option
  3. which is now not propagated in OpenWrt meson host package.
  4. --- a/meson.build
  5. +++ b/meson.build
  6. @@ -23,10 +23,10 @@ libknot = dependency('libknot', version:
  7. libdnssec = dependency('libdnssec', version: knot_version)
  8. libzscanner = dependency('libzscanner', version: knot_version)
  9. libuv = dependency('libuv', version: '>=1.7')
  10. -lmdb = dependency('lmdb', required: false)
  11. -if not lmdb.found() # darwin workaround: missing pkgconfig
  12. - lmdb = meson.get_compiler('c').find_library('lmdb')
  13. -endif
  14. +##lmdb = dependency('lmdb', required: false)
  15. +##if not lmdb.found() # darwin workaround: missing pkgconfig
  16. +lmdb = meson.get_compiler('c').find_library('lmdb')
  17. +##endif
  18. gnutls = dependency('gnutls')
  19. luajit = dependency('luajit')
  20. # NOTE avoid using link_args for luajit due to a macOS issue