Skip to content

Commit

Permalink
Fix generation of wasmer.pc file
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed Jan 4, 2022
1 parent 8a6cb60 commit b47b25a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ install-misc:
install-pkgconfig:
# Make sure WASMER_INSTALL_PREFIX is set during build
unset WASMER_DIR; \
if pc="$$(target/release/wasmer config --pkg-config 1>/dev/null 2>/dev/null)"; then \
if pc="$$(target/release/wasmer config --pkg-config 2>/dev/null)"; then \
echo "$$pc" | install -Dm644 /dev/stdin "$(DESTDIR)"/lib/pkgconfig/wasmer.pc; \
else \
echo 1>&2 "WASMER_INSTALL_PREFIX was not set during build, not installing wasmer.pc"; \
Expand Down

0 comments on commit b47b25a

Please sign in to comment.