Permalink
Browse files

Merge pull request #34 from miguno/issue30

Issue 30: Build fails on Ubuntu 11.10 (changed ld default behavior)
  • Loading branch information...
2 parents 4c5a227 + d7beb67 commit 2dd49ec41018ba4141b20edf28dbb43c0c07f373 @rangadi rangadi committed Oct 27, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 build.xml
View
@@ -247,6 +247,7 @@
<exec dir="${build.native}" executable="sh" failonerror="true">
<env key="OS_NAME" value="${os.name}"/>
<env key="OS_ARCH" value="${os.arch}"/>
+ <env key="LDFLAGS" value="-Wl,--no-as-needed"/>
<env key="JVM_DATA_MODEL" value="${sun.arch.data.model}"/>
<env key="NATIVE_SRCDIR" value="${native.src.dir}"/>
<arg line="${native.src.dir}/configure"/>

0 comments on commit 2dd49ec

Please sign in to comment.