Skip to content

Commit

Permalink
Fix libdir to "/lib". Prevent any variation such as "/lib64".
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix von Ferey committed Mar 1, 2017
1 parent 401ce1c commit 784a50f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,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 784a50f

Please sign in to comment.