Skip to content

Commit

Permalink
Merge pull request #30 from felixvf/fix_lib64_bug
Browse files Browse the repository at this point in the history
Fix compilation on 64-bit systems where the configure script sets the libdir to "/lib64" instead of "/lib".
  • Loading branch information
gnodet committed Apr 26, 2017
2 parents 1cb6770 + 784a50f commit 9165154
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ private void configureBasedBuild(File buildDir) throws IOException, MojoExecutio
}

cli.setExecutable(configure);
int rc = cli.system(buildDir, new String[]{"./configure", "--disable-ccache", "--prefix="+distDirectory.getCanonicalPath()}, configureArgs);
int rc = cli.system(buildDir, new String[]{"./configure", "--disable-ccache", "--prefix="+distDirectory.getCanonicalPath(), "--libdir="+distDirectory.getCanonicalPath()+"/lib"}, configureArgs);
if( rc != 0 ) {
throw new MojoExecutionException("./configure failed with exit code: "+rc);
}
Expand Down

0 comments on commit 9165154

Please sign in to comment.