(library
 (name lock_file_blocking)
 (public_name core_unix.lock_file_blocking)
 (libraries core filename_unix linux_ext sys_unix)
 (preprocessor_deps config.h)
 (preprocess
  (pps ppx_jane ppx_optcomp)))

(rule
 (targets config.h)
 (deps)
 (action
  (bash "cp %{lib:jst-config:config.h} %{targets}")))
