fixed MinGW compilation
This commit is contained in:
1 parent
1f60eb6b17
commit
3a415594b1
3 files changed
+9
-7
No files matched your search
@@ -73,9 +73,11 @@ $(LIBZSTD): LDFLAGS += -shared -fPIC
|
||||
$(LIBZSTD): $(ZSTD_FILES)
|
||||
@echo compiling dynamic library $(LIBVER)
|
||||
@$(CC) $(FLAGS) $^ $(LDFLAGS) $(SONAME_FLAGS) -o $@
|
||||
ifeq (,$(filter Windows%,$(OS)))
|
||||
@echo creating versioned links
|
||||
@ln -sf $@.$(SHARED_EXT_VER) libzstd.$(SHARED_EXT_MAJOR)
|
||||
@ln -sf $@.$(SHARED_EXT_VER) libzstd.$(SHARED_EXT)
|
||||
endif
|
||||
|
||||
libzstd : $(LIBZSTD)
|
||||
|
||||
|
||||
Reference in new issue
Block a user