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.

11 lines
541 B

  1. --- a/hack/make.sh
  2. +++ b/hack/make.sh
  3. @@ -95,7 +95,7 @@ fi
  4. # with a newer libdevmapper than the one it was built with.
  5. if
  6. command -v gcc &> /dev/null \
  7. - && ! (echo -e '#include <libdevmapper.h>\nint main() { dm_task_deferred_remove(NULL); }' | gcc -xc - -o /dev/null $(pkg-config --libs devmapper) &> /dev/null) \
  8. + && ! (echo -e '#include <libdevmapper.h>\nint main() { dm_task_deferred_remove(NULL); }' | gcc -xc - -o /dev/null $(pkg-config --libs libdevmapper) &> /dev/null) \
  9. ;
  10. then
  11. add_buildtag libdm dlsym_deferred_remove