diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-07 08:59:23 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-07 08:59:23 +0100 |
commit | d8546e9781df89249c218fb596bbe95b8a6c7469 (patch) | |
tree | 2b5bb61f2d24581de9594cd41a14954aeefaf493 | |
parent | e809b3723b27d3d3c7d98e7f3db7b825939d9d09 (diff) |
...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
-rw-r--r-- | odk/CustomTarget_build-examples.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/odk/CustomTarget_build-examples.mk b/odk/CustomTarget_build-examples.mk index 1083c6e024a0..69434e6ada67 100644 --- a/odk/CustomTarget_build-examples.mk +++ b/odk/CustomTarget_build-examples.mk @@ -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), \ |