diff options
author | TheCharlatan <seb.kung@gmail.com> | 2018-09-25 19:54:41 +0000 |
---|---|---|
committer | TheCharlatan <seb.kung@gmail.com> | 2018-09-25 23:05:16 +0200 |
commit | 6a78140863cbfc11dd4388901c913717f8ca4d17 (patch) | |
tree | ee55841767107539fde68c2fe58b089603c785a2 /contrib/depends/packages/hidapi-darwin.mk | |
parent | Merge pull request #4435 (diff) | |
download | monero-6a78140863cbfc11dd4388901c913717f8ca4d17.tar.xz |
Make depends use self built clang for darwin
The configure script in hidapi and libsodium tried to find clang in /usr/bin,
even though the correct prefix was passed in. This sets the correct CC flag.
This was previously undetected, because clang and the sdk where
installed in the global environment.
This also fixes a subsequent error, where IOKIT and CoreFoundation are
not found, again for the reason stated above.
Diffstat (limited to 'contrib/depends/packages/hidapi-darwin.mk')
-rw-r--r-- | contrib/depends/packages/hidapi-darwin.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/depends/packages/hidapi-darwin.mk b/contrib/depends/packages/hidapi-darwin.mk index 1fbbb59e0..014aba578 100644 --- a/contrib/depends/packages/hidapi-darwin.mk +++ b/contrib/depends/packages/hidapi-darwin.mk @@ -11,7 +11,7 @@ endef define $(package)_config_cmds ./bootstrap &&\ - $($(package)_autoconf) $($(package)_config_opts) RANLIB="$(host_prefix)/native/bin/x86_64-apple-darwin11-ranlib" AR="$(host_prefix)/native/bin/x86_64-apple-darwin11-ar" + $($(package)_autoconf) $($(package)_config_opts) RANLIB="$(host_prefix)/native/bin/x86_64-apple-darwin11-ranlib" AR="$(host_prefix)/native/bin/x86_64-apple-darwin11-ar" CC="$(host_prefix)/native/bin/$($(package)_cc)" endef define $(package)_build_cmds |