hughperman / pure-lang

Automatically exported from code.google.com/p/pure-lang
0 stars 0 forks source link

pure fails to find LLVM dynamic lib in non-standard locations #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install LLVM with --libdir=%{_libdir}/llvm
   (where %{_libdir} is the standard libdir)
2. Run pure's ./configure

What is the expected output? What do you see instead?
Pure should pick up the custom libdir using llvm-config --libdir but it does 
not; as a result it ends up compiled against the static LLVM archives

What version of the product are you using? On what operating system?
Fedora's llvm-2.8-3, pure 0.45

Please provide any additional information below.
Patch attached.

Original issue reported on code.google.com by Michael....@gmail.com on 11 Nov 2010 at 10:22

Attachments:

GoogleCodeExporter commented 8 years ago
Hi Michel, I had to massage your patch a bit since the 'other libs' arg of 
AC_CHECK_LIB isn't really to be used that way. I employed a direct AC_TRY_LINK 
instead.

Fixed in r69e8d1c76e. Can you please try whether it works for you now?

Original comment by aggraef@gmail.com on 12 Nov 2010 at 4:07

GoogleCodeExporter commented 8 years ago
Hi Albert,

That works great, thanks!

Original comment by Michael....@gmail.com on 12 Nov 2010 at 4:46

GoogleCodeExporter commented 8 years ago

Original comment by aggraef@gmail.com on 12 Nov 2010 at 9:46