Skip to content

Commit

Permalink
Fix/crosscompile (#1)
Browse files Browse the repository at this point in the history
* Revert last change for library location

* Switch to armhf for testing purposes
  • Loading branch information
gingters authored Apr 8, 2020
1 parent d165566 commit 6c44f2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install Cross-compiling toolchain
run: |
sudo apt-get update
sudo apt-get install gcc-arm-linux-gnueabi g++-arm-linux-gnueabi binutils-arm-linux-gnueabi
sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf binutils-arm-linux-gnueabihf
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v1
Expand All @@ -31,10 +31,10 @@ jobs:

- name: Build rpi-rgb-led-matrix
env:
AR: arm-linux-gnueabi-ar
CC: arm-linux-gnueabi-gcc
CXX: arm-linux-gnueabi-g++
LINK: arm-linux-gnueabi-g++
AR: arm-linux-gnueabihf-ar
CC: arm-linux-gnueabihf-gcc
CXX: arm-linux-gnueabihf-g++
LINK: arm-linux-gnueabihf-g++
run: |
sudo chmod 777 -R ./rpi-rgb-led-matrix/
make --directory ./rpi-rgb-led-matrix
Expand Down
2 changes: 1 addition & 1 deletion src/SharpPiLed/Bindings/RpiRgbLedMatrix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace SharpPiLed.Bindings

internal static class RpiRgbLedMatrix
{
private const string LIBRARY_NAME = "librgbmatrix.so";
private const string LIBRARY_NAME = "librgbmatrix";

#region Bindings for Canvas

Expand Down

0 comments on commit 6c44f2f

Please sign in to comment.