Rather than using sed, it would be better to change the .in to use @...@ variables to expand the libdir suffix along with the other variables expanded when going from <a href="http://llvm-config.in">llvm-config.in</a> to llvm-config.<br>
<br><div class="gmail_quote">On Sat, Jul 30, 2011 at 1:32 AM, Johannes Obermayr <span dir="ltr"><<a href="mailto:johannesobermayr@gmx.de">johannesobermayr@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
here is a patch for fixing the libdir suffix issue in llvm-config on CMake builds (if using -DLLVM_LIBDIR_SUFFIX=32/64).<br>
<br>
It works successfully on my openSUSE i586 (/usr/lib/) and x86_64 (/usr/lib64/) systems.<br>
<br>
Please CC me on further discussion.<br>
<br>
Thanks.<br>
<font color="#888888">Johannes</font><br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br>