[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
cgo/MatrixController: statically link gcc and g++
Browse files Browse the repository at this point in the history
  • Loading branch information
zllovesuki committed Dec 7, 2020
1 parent 34474ce commit eafc52d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cxx/MatrixController/binding.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package matrix

// #cgo CXXFLAGS: -std=c++17 -DGO_BINDINGS
// #cgo LDFLAGS: -lsetupapi -lhid -lwinusb
// #cgo LDFLAGS: -lsetupapi -lhid -lwinusb -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic
// #include "binding.h"
import "C"
import (
Expand Down

0 comments on commit eafc52d

Please sign in to comment.