mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +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/libcrypto.a \
|
||||
$(platform-lflags) \
|
||||
-lrt \
|
||||
-lstdc++
|
||||
|
||||
ifeq ($(platform),linux)
|
||||
classpath-lflags += -lrt
|
||||
endif
|
||||
|
||||
classpath-objects = \
|
||||
$(call cpp-objects,$(luni-cpps),$(luni-native),$(build)) \
|
||||
$(call cpp-objects,$(crypto-cpps),$(crypto-native),$(build)) \
|
||||
|
Loading…
Reference in New Issue
Block a user