mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-26 00:20:41 +00:00
Fixes for SConstruct on FreeBSD.
This commit is contained in:
13
SConstruct
13
SConstruct
@@ -75,10 +75,21 @@ else:
|
||||
]
|
||||
)
|
||||
|
||||
# Apparently, only linux uses -ldl
|
||||
if not FreeBSD:
|
||||
env.Append(
|
||||
LIBS = [
|
||||
'dl', # dynamic linking for linux
|
||||
]
|
||||
)
|
||||
|
||||
# Apparently, pkg-config --libs protobuf on bsd fails to provide this necessary include dir.
|
||||
if FreeBSD:
|
||||
env.Append(LINKFLAGS = ['-I/usr/local/include'])
|
||||
|
||||
env.Append(
|
||||
LIBS = [
|
||||
'protobuf',
|
||||
'dl', # dynamic linking
|
||||
'z'
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user