...but on macOS we do need the SDK-augmented DYLD_LIBRARY_PATH

...because the executables in SDK's bin/ dir find LO's URE libs that way

Change-Id: I7fe88638760afc24d639c6162656ee40c05e6814
This commit is contained in:
Stephan Bergmann
2017-02-07 08:59:23 +01:00
parent e809b3723b
commit d8546e9781

View File

@@ -91,7 +91,8 @@ $(call gb_CustomTarget_get_target,odk/build-examples): \
$(call gb_CustomTarget_get_workdir,odk/build-examples)/setsdkenv
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),CHK,1)
(saved_library_path=$${$(gb_Helper_LIBRARY_PATH_VAR)} && . $< \
&& $(gb_Helper_LIBRARY_PATH_VAR)=$$saved_library_path \
$(if $(filter MACOSX,$(OS)),, \
&& $(gb_Helper_LIBRARY_PATH_VAR)=$$saved_library_path) \
&& export \
UserInstallation=$(call gb_Helper_make_url,$(call gb_CustomTarget_get_workdir,odk/build-examples)/user) \
$(foreach my_dir,$(my_example_dirs), \