"Tommy[D]": > please append the following patch, so building libau.so does support the = > $LDFLAGS var.
Al right. It will be included in next Monday release. If you are adding generic option, please let me know. I'd add them too. And I am going to refine the Makefile and move $LDFLAGS to the tail. It may be better to give a chance to users to override the options in Makefile. diff --git a/libau/Makefile b/libau/Makefile index 44f8693..8ad6a17 100644 --- a/libau/Makefile +++ b/libau/Makefile @@ -36,8 +36,10 @@ ${LibSo}: ${LibSo}.${LibSoMajor} ln -sf $< $@ ${LibSo}.${LibSoMajor}: ${LibSo}.${LibSoMajor}.${LibSoMinor} ln -sf $< $@ +${LibSo}.${LibSoMajor}.${LibSoMinor}: LDLIBS += -ldl -lpthread ${LibSo}.${LibSoMajor}.${LibSoMinor}: ${LibSoObj} - ${CC} $(LDFLAGS) --shared -Wl,-soname,${LibSo}.${LibSoMajor} -o $@ $^ -ldl -lpthread + ${LD} --shared -soname,${LibSo}.${LibSoMajor} ${LDFLAGS} -o $@ $^ ${LDLIBS} install_ulib: File = ${LibSo} ${LibSo}.${LibSoMajor} \ ${LibSo}.${LibSoMajor}.${LibSoMinor} J. R. Okajima ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev