File: linking_static.go

package info (click to toggle)
golang-gopkg-lxc-go-lxc.v2 0.0%2Bgit20220627.ad3d9f7-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports
  • size: 428 kB
  • sloc: ansic: 572; makefile: 77
file content (12 lines) | stat: -rw-r--r-- 340 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
// 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.

// +build linux,cgo,static_build

package lxc

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