[DO-983][DO-985] add tiff and zstd packages (!14)

Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech>
Reviewed-on: https://git.avroid.tech/Conan/conan_build/pulls/14
This commit is contained in:
Aleksandr Vodyanov
2024-12-26 16:03:17 +03:00
parent 70e3dea3f3
commit 60445ac09e
55 changed files with 1662 additions and 86 deletions

View File

@@ -0,0 +1,40 @@
diff --git a/Makefile b/Makefile
index 276d75d..641e726 100644
--- a/Makefile
+++ b/Makefile
@@ -48,7 +48,7 @@ cc-option = $(shell if $(CC) $(1) -c -x c /dev/null -o /dev/null \
1>&2 2>/dev/null; then echo $(1); fi)
override CFLAGS := \
- -O2 -fomit-frame-pointer -std=c99 -I. -Wall -Wundef \
+ -fomit-frame-pointer -std=c99 -I. -Wall -Wundef \
$(call cc-option,-Wpedantic) \
$(call cc-option,-Wdeclaration-after-statement) \
$(call cc-option,-Wmissing-prototypes) \
@@ -111,7 +111,7 @@ else ifeq ($(shell uname),Darwin)
SHARED_LIB := libdeflate.$(SOVERSION).dylib
SHARED_LIB_SYMLINK := libdeflate.dylib
SHARED_LIB_CFLAGS := -fPIC
- SHARED_LIB_LDFLAGS := -install_name $(SHARED_LIB)
+ SHARED_LIB_LDFLAGS := -install_name @rpath/$(SHARED_LIB)
# Linux, FreeBSD, etc.
else
diff --git a/Makefile.msc b/Makefile.msc
index 1449618..a61c034 100644
--- a/Makefile.msc
+++ b/Makefile.msc
@@ -7,11 +7,10 @@
.SUFFIXES: .c .obj .dllobj
-CC = cl
+CC = $(CC)
LD = link
AR = lib
-CFLAGS = /MD /O2 -I.
-LDFLAGS =
+CFLAGS = /nologo $(CFLAGS) -I.
STATIC_LIB = libdeflatestatic.lib
SHARED_LIB = libdeflate.dll