Skip to content

Commit

Permalink
Add objdir support for mixed static + shared build
Browse files Browse the repository at this point in the history
  • Loading branch information
GregDomjan committed Jul 27, 2021
1 parent 224785d commit 05994c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/github/maven_nar/NarCompileMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private void createLibrary(final Project antProject, final Library library)

// object directory
File objDir = new File(getTargetDirectory(), "obj");
objDir = new File(objDir, getAOL().toString());
objDir = new File(objDir, getAOL().toString() + "-" + library.getType());
objDir.mkdirs();
task.setObjdir(objDir);

Expand Down

0 comments on commit 05994c1

Please sign in to comment.