mirror of
https://github.com/lz4/lz4.git
synced 2024-11-23 18:04:05 +08:00
Windows: create import library with gcc directly, remove now useless def file
This commit is contained in:
parent
65ff6f8073
commit
b03714dc80
@ -54,8 +54,6 @@ DEBUGFLAGS:= -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \
|
||||
CFLAGS += $(DEBUGFLAGS) $(MOREFLAGS)
|
||||
FLAGS = $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
|
||||
|
||||
DLLTOOL ?= dlltool
|
||||
|
||||
SRCFILES := $(sort $(wildcard *.c))
|
||||
|
||||
|
||||
@ -109,8 +107,7 @@ $(LIBLZ4): $(SRCFILES)
|
||||
ifeq ($(BUILD_SHARED),yes) # can be disabled on command line
|
||||
@echo compiling dynamic library $(LIBVER)
|
||||
ifneq (,$(filter Windows%,$(OS)))
|
||||
$(Q)$(CC) $(FLAGS) -DLZ4_DLL_EXPORT=1 -shared $^ -o dll/$@.dll
|
||||
$(DLLTOOL) -D dll/liblz4.dll -d dll/liblz4.def -l dll/liblz4.lib
|
||||
$(Q)$(CC) $(FLAGS) -DLZ4_DLL_EXPORT=1 -shared $^ -o dll/$@.dll -Wl,--out-implib,dll/liblz4.lib
|
||||
else
|
||||
$(Q)$(CC) $(FLAGS) -shared $^ -fPIC -fvisibility=hidden $(SONAME_FLAGS) -o $@
|
||||
@echo creating versioned links
|
||||
|
@ -1,62 +0,0 @@
|
||||
LIBRARY liblz4.dll
|
||||
EXPORTS
|
||||
LZ4F_compressBegin
|
||||
LZ4F_compressBound
|
||||
LZ4F_compressEnd
|
||||
LZ4F_compressFrame
|
||||
LZ4F_compressFrameBound
|
||||
LZ4F_compressUpdate
|
||||
LZ4F_createCompressionContext
|
||||
LZ4F_createDecompressionContext
|
||||
LZ4F_decompress
|
||||
LZ4F_flush
|
||||
LZ4F_freeCompressionContext
|
||||
LZ4F_freeDecompressionContext
|
||||
LZ4F_getErrorName
|
||||
LZ4F_getFrameInfo
|
||||
LZ4F_getVersion
|
||||
LZ4F_isError
|
||||
LZ4_compress
|
||||
LZ4_compressBound
|
||||
LZ4_compressHC
|
||||
LZ4_compressHC_continue
|
||||
LZ4_compressHC_limitedOutput
|
||||
LZ4_compressHC_limitedOutput_continue
|
||||
LZ4_compressHC_limitedOutput_withStateHC
|
||||
LZ4_compressHC_withStateHC
|
||||
LZ4_compress_HC
|
||||
LZ4_compress_HC_continue
|
||||
LZ4_compress_HC_extStateHC
|
||||
LZ4_compress_continue
|
||||
LZ4_compress_default
|
||||
LZ4_compress_destSize
|
||||
LZ4_compress_fast
|
||||
LZ4_compress_fast_continue
|
||||
LZ4_compress_fast_extState
|
||||
LZ4_compress_limitedOutput
|
||||
LZ4_compress_limitedOutput_continue
|
||||
LZ4_compress_limitedOutput_withState
|
||||
LZ4_compress_withState
|
||||
LZ4_createStream
|
||||
LZ4_createStreamDecode
|
||||
LZ4_createStreamHC
|
||||
LZ4_decompress_fast
|
||||
LZ4_decompress_fast_continue
|
||||
LZ4_decompress_fast_usingDict
|
||||
LZ4_decompress_safe
|
||||
LZ4_decompress_safe_continue
|
||||
LZ4_decompress_safe_partial
|
||||
LZ4_decompress_safe_usingDict
|
||||
LZ4_freeStream
|
||||
LZ4_freeStreamDecode
|
||||
LZ4_freeStreamHC
|
||||
LZ4_loadDict
|
||||
LZ4_loadDictHC
|
||||
LZ4_resetStream
|
||||
LZ4_resetStreamHC
|
||||
LZ4_saveDict
|
||||
LZ4_saveDictHC
|
||||
LZ4_setStreamDecode
|
||||
LZ4_sizeofState
|
||||
LZ4_sizeofStateHC
|
||||
LZ4_versionNumber
|
Loading…
Reference in New Issue
Block a user