//go:build !signal_legacy package libsignal /* #cgo pkg-config: libomemo-c */ import "C" // This file (selected by the absence of the "signal_legacy" build tag, // the default) links against libomemo-c, the Dino project's fork of // libsignal-protocol-c that additionally supports modern OMEMO (protocol // v4, shared by OMEMO 1 and OMEMO 2) alongside legacy/siacs OMEMO // (protocol v3). See cgo_legacy.go for the alternative. // // The #cgo pkg-config directive above supplies the CFLAGS/LDFLAGS for // every file in this package, per Go's cgo rules (such directives are // package-wide, not per-file) - every other file just #includes the // headers it needs without repeating this directive.