# c-lz4 **Repository Path**: mirrors_cockroachdb/c-lz4 ## Basic Information - **Project Name**: c-lz4 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2023-08-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # LZ4 This is a go-gettable version of the LZ4 library for use in Go code that needs to link against the LZ4 library but wants to integrate with `go get` and `go build`. The LZ4 source is currently pinned to the r128 release. To use in your project you need to import the package and set appropriate cgo flag directives: ``` import _ "github.com/cockroachdb/c-lz4" // #cgo CPPFLAGS: -I /c-lz4/internal/lib // #cgo darwin LDFLAGS: -Wl,-undefined -Wl,dynamic_lookup // #cgo !darwin LDFLAGS: -Wl,-unresolved-symbols=ignore-all import "C" ```