Merge pull request #2977 from felixhandte/fix-2950

Remove Dependencies to Allow the Zstd Binary to Dynamically Link to the Library
This commit is contained in:
Felix Handte 2022-01-07 12:10:46 -05:00 committed by GitHub
commit 844c53ed75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -31,9 +31,14 @@
#include "timefn.h" /* UTIL_time_t */
#include "benchfn.h"
#include "../lib/common/mem.h"
#ifndef ZSTD_STATIC_LINKING_ONLY
#define ZSTD_STATIC_LINKING_ONLY
#endif
#include "../lib/zstd.h"
#include "datagen.h" /* RDG_genBuffer */
#ifndef XXH_INLINE_ALL
#define XXH_INLINE_ALL
#endif
#include "../lib/common/xxhash.h"
#include "benchzstd.h"
#include "../lib/zstd_errors.h"

View File

@ -31,7 +31,6 @@
#include "timefn.h" /* UTIL_time_t, UTIL_clockSpanMicro, UTIL_getTime */
#include "../lib/common/mem.h" /* read */
#include "../lib/common/error_private.h"
#include "dibio.h"