pyrp3: fix cross-compilation of libmonitor.so

This commit was merged in pull request #82.
This commit is contained in:
2026-03-13 16:51:56 +08:00
committed by sb10q
parent 229d0c9252
commit 092d88f8a6
2 changed files with 1 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ index 0000000..0c9bb53
+LIBS=-lm -lpthread
+
+# Use CROSS_COMPILE=arm-linux-gnueabi-
+CC=$(CROSS_COMPILE)gcc
+CC?=$(CROSS_COMPILE)gcc
+INSTALL_DIR ?= .
+
+

View File

@@ -176,7 +176,6 @@
};
patches = ./fast-servo/linien-pyrp3-monitor.patch;
build-system = [ pkgs.python3Packages.setuptools ];
nativeBuildInputs = [ pkgs.gcc ];
postInstall = ''
cp monitor/libmonitor.so $out/lib
'';