link against isl libraries firstmaster
commit93e8512e38e55fff92da6dfdda8c7993a7f831e5
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Sat, 10 Feb 2024 11:37:48 +0000 (10 12:37 +0100)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Sat, 10 Feb 2024 11:37:48 +0000 (10 12:37 +0100)
tree802ef605a0badf41c1f5e22f58e4004f710561d1
parentdcc3eca772edc9f4d2774abe1df2396d475a200f
link against isl libraries first

In particular, link against the isl libraries before linking
against libLLVM.  If LLVM was compiled with Polly support,
then it will also contain isl symbols.  This is usually not a problem
since these symbols are versioned.  However, if libLLVM is
a shared library and libpet is dynamically loaded,
then libpet may end up calling isl symbols inside libLLVM.
Linking against libisl first prevent this.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
Makefile.am