Skip to content

Commit

Permalink
Remove lib directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mnightingale committed Oct 31, 2023
1 parent 1d07ec2 commit 0df5ac4
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,7 @@ jobs:
- uses: actions/download-artifact@v3
with:
name: static
path: lib
- uses: stefanzweifel/git-auto-commit-action@v5
with:
file_pattern: 'lib/*.a'
file_pattern: '*.a'
commit_message: Built rapidyenc
8 changes: 4 additions & 4 deletions decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package rapidyenc

/*
#cgo CFLAGS: -I${SRCDIR}/rapidyenc
#cgo darwin LDFLAGS: ${SRCDIR}/lib/librapidyenc_darwin.a -lstdc++
#cgo windows,amd64 LDFLAGS: ${SRCDIR}/lib/librapidyenc_windows_amd64.a -lstdc++
#cgo linux,amd64 LDFLAGS: ${SRCDIR}/lib/librapidyenc_linux_amd64.a -lstdc++
#cgo linux,arm64 LDFLAGS: ${SRCDIR}/lib/librapidyenc_linux_arm64.a -lstdc++
#cgo darwin LDFLAGS: ${SRCDIR}/librapidyenc_darwin.a -lstdc++
#cgo windows,amd64 LDFLAGS: ${SRCDIR}/librapidyenc_windows_amd64.a -lstdc++
#cgo linux,amd64 LDFLAGS: ${SRCDIR}/librapidyenc_linux_amd64.a -lstdc++
#cgo linux,arm64 LDFLAGS: ${SRCDIR}/librapidyenc_linux_arm64.a -lstdc++
#include "rapidyenc.h"
*/
import "C"
Expand Down
8 changes: 4 additions & 4 deletions encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package rapidyenc

/*
#cgo CFLAGS: -I${SRCDIR}/rapidyenc
#cgo darwin LDFLAGS: ${SRCDIR}/lib/librapidyenc_darwin.a -lstdc++
#cgo windows,amd64 LDFLAGS: ${SRCDIR}/lib/librapidyenc_windows_amd64.a -lstdc++
#cgo linux,amd64 LDFLAGS: ${SRCDIR}/lib/librapidyenc_linux_amd64.a -lstdc++
#cgo linux,arm64 LDFLAGS: ${SRCDIR}/lib/librapidyenc_linux_arm64.a -lstdc++
#cgo darwin LDFLAGS: ${SRCDIR}/librapidyenc_darwin.a -lstdc++
#cgo windows,amd64 LDFLAGS: ${SRCDIR}/librapidyenc_windows_amd64.a -lstdc++
#cgo linux,amd64 LDFLAGS: ${SRCDIR}/librapidyenc_linux_amd64.a -lstdc++
#cgo linux,arm64 LDFLAGS: ${SRCDIR}/librapidyenc_linux_arm64.a -lstdc++
#include "rapidyenc.h"
*/
import "C"
Expand Down
Empty file removed lib/.gitignore
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0df5ac4

Please sign in to comment.