[PATCH] D43168: Don't use -ldl on BSD

Ed Maste via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 21:23:04 PST 2018


emaste added a comment.

In FreeBSD libpthread.so is a symlink to libthr; `-pthread` and `-lpthread` should both work.

  % readelf -d /usr/lib/libpthread.so | grep SONAME
   0x000000000000000e SONAME               Library soname: [libthr.so.3]


Repository:
  rL LLVM

https://reviews.llvm.org/D43168





More information about the llvm-commits mailing list