Skip to content

Commit

Permalink
Reuse zlib sources in mono
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 committed Nov 24, 2021
1 parent 4d8a57f commit 4cbed64
Show file tree
Hide file tree
Showing 25 changed files with 26 additions and 11,508 deletions.
27 changes: 26 additions & 1 deletion src/mono/mono/mini/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,32 @@ include(../utils/CMakeLists.txt)
include(../metadata/CMakeLists.txt)
include(../sgen/CMakeLists.txt)
if(INTERNAL_ZLIB) # TODO: hook up HAVE_SYS_ZLIB instead
include(../zlib/CMakeLists.txt)
set(zlib_sources_base
adler32.c
compress.c
crc32.c
uncompr.c
deflate.c
gzguts.h
trees.c
zutil.c
inflate.c
infback.c
inftrees.c
inffast.c
crc32.h
deflate.h
inffast.h
inffixed.h
inflate.h
inftrees.h
trees.h
zconf.h
zlib.h
zutil.h
)

addprefix(zlib_sources ${CLR_SRC_NATIVE_DIR}/libs/System.IO.Compression.Native/zlib "${zlib_sources_base}")
endif()
include(../component/CMakeLists.txt)

Expand Down
10 changes: 0 additions & 10 deletions src/mono/mono/zlib/.gitignore

This file was deleted.

26 changes: 0 additions & 26 deletions src/mono/mono/zlib/CMakeLists.txt

This file was deleted.

186 changes: 0 additions & 186 deletions src/mono/mono/zlib/adler32.c

This file was deleted.

86 changes: 0 additions & 86 deletions src/mono/mono/zlib/compress.c

This file was deleted.

Loading

0 comments on commit 4cbed64

Please sign in to comment.