Skip to content

Commit 4127276

Browse files
committed
WIP
1 parent b44de4e commit 4127276

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,7 @@ $(PNGQUANT_TARGET) : export OVERRIDE_BIN_DIR = $(LIBPNG_DIR)/override-bin
536536
$(PNGQUANT_TARGET) : export PATH := $(OVERRIDE_BIN_DIR):$(PATH)
537537
$(PNGQUANT_TARGET) : export RUSTFLAGS = -C link-arg=$(XORIGIN)
538538
$(PNGQUANT_TARGET) :
539+
# prevent build code of libpng-sys crate from using libpng-config
539540
mkdir -p $(OVERRIDE_BIN_DIR)
540541
cd $(OVERRIDE_BIN_DIR) && printf '%s\n' '#!/bin/sh' 'echo 1.5' > libpng-config && chmod +x libpng-config
541542
cd $(DIR) && cargo build --release --frozen --offline --target=$(RUST_HOST)

0 commit comments

Comments
 (0)