Skip to content

Commit

Permalink
Platform dependant linking for darwin arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
mnightingale committed Oct 25, 2023
1 parent d6d2f0d commit dcb4c29
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package rapidyenc

/*
#cgo CFLAGS: -I${SRCDIR}/rapidyenc
#cgo LDFLAGS: -L${SRCDIR}/lib -lrapidyenc
#include "rapidyenc.h"
*/
import "C"
Expand Down
1 change: 0 additions & 1 deletion encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package rapidyenc

/*
#cgo CFLAGS: -I${SRCDIR}/rapidyenc
#cgo LDFLAGS: -L${SRCDIR}/lib -lrapidyenc
#include "rapidyenc.h"
*/
import "C"
Expand Down
6 changes: 6 additions & 0 deletions rapidyenc_darwin_arm64.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package rapidyenc

/*
#cgo LDFLAGS: ${SRCDIR}/lib/librapidyenc_darwin_arm64.a -lstdc++
*/
import "C"

0 comments on commit dcb4c29

Please sign in to comment.