mirror of
https://github.com/corda/corda.git
synced 2025-01-21 03:55:00 +00:00
only use librt on Linux; OS X doesn't have or need it
This commit is contained in:
parent
82577d742f
commit
3058e4254d
5
makefile
5
makefile
@ -215,9 +215,12 @@ ifneq ($(android),)
|
|||||||
$(android)/openssl-upstream/libssl.a \
|
$(android)/openssl-upstream/libssl.a \
|
||||||
$(android)/openssl-upstream/libcrypto.a \
|
$(android)/openssl-upstream/libcrypto.a \
|
||||||
$(platform-lflags) \
|
$(platform-lflags) \
|
||||||
-lrt \
|
|
||||||
-lstdc++
|
-lstdc++
|
||||||
|
|
||||||
|
ifeq ($(platform),linux)
|
||||||
|
classpath-lflags += -lrt
|
||||||
|
endif
|
||||||
|
|
||||||
classpath-objects = \
|
classpath-objects = \
|
||||||
$(call cpp-objects,$(luni-cpps),$(luni-native),$(build)) \
|
$(call cpp-objects,$(luni-cpps),$(luni-native),$(build)) \
|
||||||
$(call cpp-objects,$(crypto-cpps),$(crypto-native),$(build)) \
|
$(call cpp-objects,$(crypto-cpps),$(crypto-native),$(build)) \
|
||||||
|
Loading…
Reference in New Issue
Block a user