Skip to content

Commit 7255f54

Browse files
committed
Fix makefile
1 parent 8ea42d7 commit 7255f54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imagequant-sys/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ static: $(STATICLIB)
2323
java: $(JNILIB)
2424

2525
$(STATICLIB): Cargo.toml
26-
cargo build --release
26+
cargo build --release --lib --target-dir=../target
2727
cp ../target/release/libimagequant_sys.a $(STATICLIB)
2828

2929
$(JNILIB): $(JAVAHEADERS) $(STATICLIB) org/pngquant/PngQuant.c

0 commit comments

Comments
 (0)