1.4.5.2
This commit is contained in:
14
EdgeNode/internal/compressions/cbrotli/cgo.go
Normal file
14
EdgeNode/internal/compressions/cbrotli/cgo.go
Normal file
@@ -0,0 +1,14 @@
|
||||
// Copyright 2017 Google Inc. All Rights Reserved.
|
||||
//
|
||||
// Distributed under MIT license.
|
||||
// See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
|
||||
|
||||
package cbrotli
|
||||
|
||||
// Inform golang build system that it should link brotli libraries.
|
||||
|
||||
// #cgo CFLAGS: -O2
|
||||
// #cgo LDFLAGS: -lbrotlicommon
|
||||
// #cgo LDFLAGS: -lbrotlidec
|
||||
// #cgo LDFLAGS: -lbrotlienc
|
||||
import "C"
|
||||
Reference in New Issue
Block a user