about summary refs log tree commit diff
path: root/pkgs/by-name/pi/picocom/use-system-linenoise.patch
diff options
context:
space:
mode:
authorColin2024-10-02 00:13:20 +0000
committerColin2024-10-02 00:13:20 +0000
commit78b037d36f76f65abeaaab6ed30702f4dd7d9f3c (patch)
treea5a7a22e0c5c34b7a6387ca0737576f81697b9e3 /pkgs/by-name/pi/picocom/use-system-linenoise.patch
parent8637e879e425363b14aa23f3ec1f69e32c9f512f (diff)
picocom: fix cross compilation
Diffstat (limited to 'pkgs/by-name/pi/picocom/use-system-linenoise.patch')
-rw-r--r--pkgs/by-name/pi/picocom/use-system-linenoise.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/pi/picocom/use-system-linenoise.patch b/pkgs/by-name/pi/picocom/use-system-linenoise.patch
index ee31a0d617cc..455c18010bfc 100644
--- a/pkgs/by-name/pi/picocom/use-system-linenoise.patch
+++ b/pkgs/by-name/pi/picocom/use-system-linenoise.patch
@@ -10,8 +10,8 @@ index 8fca24ee38..33b59b5b96 100644
 -OBJS += linenoise-1.0/linenoise.o
 -linenoise-1.0/linenoise.o : linenoise-1.0/linenoise.c linenoise-1.0/linenoise.h
 +	    -DLINENOISE \
-+	    $(shell pkg-config --cflags linenoise)
-+LDFLAGS += $(shell pkg-config --libs linenoise)
++	    $(shell $(PKG_CONFIG) --cflags linenoise)
++LDFLAGS += $(shell $(PKG_CONFIG) --libs linenoise)
  
  ## Comment this in to enable (force) custom baudrate support
  ## even on systems not enabled by default.