Skip to content

Commit efaefbb

Browse files
committed
Added zstd_annotations.h to the file copy list in build_library_test.sh and freestanding.py.
1 parent ca4321d commit efaefbb

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

build/single_file_libs/build_library_test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ echo "Single file library creation script: PASSED"
7171
# Copy the header to here (for the tests)
7272
cp "$ZSTD_SRC_ROOT/zstd.h" examples/zstd.h
7373
cp "$ZSTD_SRC_ROOT/zstd_errors.h" examples/zstd_errors.h
74+
cp "$ZSTD_SRC_ROOT/zstd_annotations.h" examples/zstd_annotations.h
7475

7576
# Compile the generated output
7677
cc -Wall -Wextra -Werror -Wshadow -pthread -I. -Os -g0 -o $OUT_FILE zstd.c examples/roundtrip.c

contrib/freestanding_lib/freestanding.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ def _copy_source_lib(self):
483483
os.makedirs(self._dst_lib, exist_ok=True)
484484
self._copy_file("zstd.h")
485485
self._copy_file("zstd_errors.h")
486+
self._copy_file("zstd_annotations.h")
486487
for subdir in INCLUDED_SUBDIRS:
487488
src_dir = os.path.join(self._src_lib, subdir)
488489
dst_dir = os.path.join(self._dst_lib, subdir)

0 commit comments

Comments
 (0)