File tree Expand file tree Collapse file tree 3 files changed +9
-14
lines changed Expand file tree Collapse file tree 3 files changed +9
-14
lines changed Original file line number Diff line number Diff line change
1
+ 1.12.0
2
+ - Update embedded libgifski to upstream 1.12.0
3
+ - Windows: if rust is available, default to source build of libgifski.
4
+
1
5
1.6.6-1
2
6
- Fix for legacy Windows Vista/2008 (for the old winbuilder)
3
7
Original file line number Diff line number Diff line change @@ -4,31 +4,20 @@ STATLIB = $(LIBDIR)/libmyrustlib.a
4
4
PKG_LIBS = -L$(LIBDIR) -lmyrustlib -lws2_32 -ladvapi32 -luserenv -ldbghelp -lbcrypt
5
5
6
6
# These can also be set in ~/.cargo/config
7
- #export CARGO_TARGET_I686_PC_WINDOWS_GNU_LINKER=C:\\rtools40\\mingw$(WIN)\\bin\\gcc
8
- #export CC=$(CC)
9
- #export AR=$(AR)
10
-
11
- # This bypasses the exception stuff
12
- #export CARGO_TARGET_I686_PC_WINDOWS_GNU_RUSTFLAGS=-C panic=abort
13
7
ifeq ($(R_COMPILED_BY),gcc 8.3.0)
14
8
GCCPATH=$(subst C:\,/c/,$(RTOOLS40_HOME))/mingw$(WIN)/bin
15
9
export CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER=$(RTOOLS40_HOME)\\mingw64\\bin\\gcc
16
10
export CARGO_TARGET_I686_PC_WINDOWS_GNU_LINKER=$(RTOOLS40_HOME)\\\mingw32\\bin\\gcc
17
11
else
18
- export CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER=gcc
19
- ifdef RTOOLS40_HOME
20
- GCCPATH=$(subst C:\,/c/,$(RTOOLS40_HOME))/ucrt64/bin
21
- else
22
12
GCCPATH=$(subst C:\,/c/,$(RTOOLS43_HOME))/x86_64-w64-mingw32.static.posix/bin
23
13
endif
24
- endif
25
14
26
15
all: clean rustup
27
16
28
17
$(SHLIB): $(STATLIB)
29
18
30
19
$(STATLIB):
31
- ifeq ($(WIN),64) #hack for mxe-rtools42
20
+ ifeq ($(WIN),64) #hack for mxe-rtools42 missing -lgcc_eh
32
21
mkdir -p myrustlib/target/release/deps; echo '!<arch>' > myrustlib/target/release/deps/libgcc_eh.a
33
22
endif
34
23
PATH="$(GCCPATH):$(USERPROFILE)\.cargo:$(PATH)" cargo build --target=$(TARGET) --release --manifest-path=myrustlib/Cargo.toml
Original file line number Diff line number Diff line change 1
- VERSION = 1.6.6
1
+ VERSION = 1.12.0
2
2
RWINLIB = ../windows/gifski-winlibs
3
3
PKG_CPPFLAGS = -I$(RWINLIB)/include
4
- PKG_LIBS = -L$(RWINLIB)/lib${R_ARCH}${CRT} \
4
+ GCC_VERSION = ${subst gcc,,${COMPILED_BY}}
5
+ PKG_LIBS = -L$(RWINLIB)/lib$(GCC_VERSION)$(R_ARCH) \
6
+ -L$(RWINLIB)/lib$(R_ARCH) \
5
7
-lgifski -lws2_32 -ladvapi32 -luserenv -ldbghelp -lbcrypt
6
8
7
9
all: clean winlibs
You can’t perform that action at this time.
0 commit comments