Skip to content

Commit

Permalink
add bzip2 patch and gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
timfel committed Aug 27, 2022
1 parent 92b361c commit 604362d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bzip2/*.1
14 changes: 14 additions & 0 deletions bzip2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/bzip2/CMakeLists.txt b/bzip2/CMakeLists.txt
index 9d7eb62..76e4f49 100644
--- a/bzip2/CMakeLists.txt
+++ b/bzip2/CMakeLists.txt
@@ -14,7 +14,7 @@ ADD_DEFINITIONS(-D_FILE_OFFSET_BITS=64)
SET(BZIP2_SRCS blocksort.c huffman.c crctable.c randtable.c
compress.c decompress.c bzlib.c )

-ADD_LIBRARY(bz2 SHARED ${BZIP2_SRCS} libbz2.def)
+ADD_LIBRARY(bz2 STATIC ${BZIP2_SRCS} libbz2.def)

ADD_EXECUTABLE(bzip2 bzip2.c)
TARGET_LINK_LIBRARIES(bzip2 bz2)

0 comments on commit 604362d

Please sign in to comment.