diff options
author | David Tardon <dtardon@redhat.com> | 2013-04-22 07:33:38 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-04-22 07:33:38 +0200 |
commit | f9c45046f39029a69f6ab90a972459d8c12f065e (patch) | |
tree | 2bc6ce4f60de4826e1f04b02a2635baf4f71149b /jurt/CustomTarget_jnilib.mk | |
parent | 02aee3b818e5e22a038043def91dea74ee4d00c6 (diff) |
create the jnilib in the right dir
macosx-create-bundle creates the .jnilib symlink in the same dir the
library is in. But we do not want to create stuff directly in $(OUTDIR).
Change-Id: I7fa3380a164c6157ce1c710b9e8a815375ff3a72
Diffstat (limited to 'jurt/CustomTarget_jnilib.mk')
-rw-r--r-- | jurt/CustomTarget_jnilib.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jurt/CustomTarget_jnilib.mk b/jurt/CustomTarget_jnilib.mk index 6364fcbb8ba0..eb2c3def5bf7 100644 --- a/jurt/CustomTarget_jnilib.mk +++ b/jurt/CustomTarget_jnilib.mk @@ -31,8 +31,10 @@ $(eval $(call gb_CustomTarget_register_targets,jurt/util,\ libjpipe.jnilib \ )) +# TODO: could this be replaced by defining library jpipe as gb_Library_Bundle? $(call gb_CustomTarget_get_workdir,jurt/util)/libjpipe.jnilib : $(call gb_Library_get_target,jpipe) $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),MCB,1) - cd $(dir $@) && $(SOLARENV)/bin/macosx-create-bundle $< + cp $< $(dir $@)$(notdir $<) && \ + $(SOLARENV)/bin/macosx-create-bundle $(dir $@)$(notdir $<) # vim:set shiftwidth=4 tabstop=4 noexpandtab: |