File tree Expand file tree Collapse file tree 3 files changed +10
-185
lines changed Expand file tree Collapse file tree 3 files changed +10
-185
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,8 +9,16 @@ The included patch file "libsquish-1.15-c_wrapper.patch" adds a simple C wrapper
9
9
package squish
10
10
11
11
/*
12
- // For release: Use CGO_LDFLAGS environment variable to define -Llibdir and -llibname parameters
13
- // Example: CGO_LDFLAGS=-L${SRCDIR} -lsquish -lgomp -lstdc++
12
+ // CGO linker flags are defined for selected platforms windows/linux/freebsd/darwin and architectures 386/amd64.
13
+ // Set CGO_LDFLAGS environment variable manually for undefined platforms and architectures or non-standard configurations.
14
+ #cgo windows,386 LDFLAGS: -Llibs/windows/386 -lsquish -lgomp -lm -lstdc++
15
+ #cgo windows,amd64 LDFLAGS: -Llibs/windows/amd64 -lsquish -lgomp -lm -lstdc++
16
+ #cgo linux,386 LDFLAGS: -Llibs/linux/386 -lsquish -lgomp -lm -lstdc++
17
+ #cgo linux,amd64 LDFLAGS: -Llibs/linux/amd64 -lsquish -lgomp -lm -lstdc++
18
+ #cgo freebsd,386 LDFLAGS: -Llibs/freebsd/386 -lsquish -lgomp -lm -lstdc++
19
+ #cgo freebsd,amd64 LDFLAGS: -Llibs/freebsd/amd64 -lsquish -lgomp -lm -lstdc++
20
+ #cgo darwin,386 LDFLAGS: -Llibs/darwin/386 -lsquish -lm -lstdc++
21
+ #cgo darwin,amd64 LDFLAGS: -Llibs/darwin/amd64 -lsquish -lm -lstdc++
14
22
#include "csquish.h"
15
23
*/
16
24
import "C"
You can’t perform that action at this time.
0 commit comments