File: linking_static.go

package info (click to toggle)
golang-gopkg-lxc-go-lxc.v2 0.0%2Bgit20240606.27b3d11-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, sid, trixie
  • size: 444 kB
  • sloc: ansic: 582; makefile: 77
file content (13 lines) | stat: -rw-r--r-- 380 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright © 2013, 2014, The Go-LXC Authors. All rights reserved.
// Use of this source code is governed by a LGPLv2.1
// license that can be found in the LICENSE file.

//go:build linux && cgo && static_build
// +build linux,cgo,static_build

package lxc

// #cgo CFLAGS: -std=gnu11 -Wvla -Werror
// #cgo pkg-config: --static lxc libcrypto
// #cgo LDFLAGS: -static
import "C"