Skip to content

Commit cf65894

Browse files
committed
WIP
1 parent 842c0f4 commit cf65894

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,9 @@ $(eval $(call depend,PNGQUANT,LIBLCMS LIBPNG LIBZ))
535535
$(PNGQUANT_TARGET) : export DEP_PNG_INCLUDE = $(LIBPNG_DIR)
536536
$(PNGQUANT_TARGET) : export DEP_Z_INCLUDE = $(LIBZ_DIR)
537537
$(PNGQUANT_TARGET) : export LCMS2_LIB_DIR = $(LIBLCMS_DIR)
538+
ifdef IS_LINUX
538539
$(PNGQUANT_TARGET) : export RUSTFLAGS = -C link-arg=$(XORIGIN)
540+
endif
539541
$(PNGQUANT_TARGET) :
540542
cd $(DIR) && cargo build --features=lcms2 --release --frozen --offline --target=$(RUST_HOST)
541543
$(call chrpath_origin,$@)

0 commit comments

Comments
 (0)