forked from acouzens/open5gs
FIXME: libsctp: add define HAVE_NETINET_SCTP_H to allow build on debian bullseye
This is a quick fix. Need to investigate why the autodetect doesn't work or the compilation otherwise fails.
This commit is contained in:
parent
9087a480a8
commit
3c7320fd32
|
@ -46,6 +46,7 @@ if host_system == 'darwin'
|
|||
libsctp_sources += files('ogs-usrsctp.c')
|
||||
libsctp_conf.set('HAVE_USRSCTP', 1)
|
||||
else
|
||||
libsctp_conf.set('HAVE_NETINET_SCTP_H', 1)
|
||||
sctp_dep = cc.find_library('sctp', required : false)
|
||||
libsctp_sources += files('ogs-lksctp.c')
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue