diff options
author | Eric Biggers <ebiggers@google.com> | 2023-01-04 18:59:15 +0000 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2023-01-11 03:26:10 +0000 |
commit | 0c82cec0d1aa70c993b5231a2c2244eb5175e638 (patch) | |
tree | 17059127b18b3d199f5b995b38d837b33a318cfc | |
parent | 110cf8fb95e1850b5bc64007c9e5ee0f7e1adaf9 (diff) | |
download | e2fsprogs-0c82cec0d1aa70c993b5231a2c2244eb5175e638.tar.gz |
Update lib/ext2fs/Android.bp for upstream change
Compile windows_io.c on Windows, and unix_io.c everywhere else.
Change-Id: Ieab0b9ad5a9f7c275153e0f90553761693967762
Signed-off-by: Eric Biggers <ebiggers@google.com>
-rw-r--r-- | lib/ext2fs/Android.bp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ext2fs/Android.bp b/lib/ext2fs/Android.bp index 365ca709..c163d412 100644 --- a/lib/ext2fs/Android.bp +++ b/lib/ext2fs/Android.bp @@ -119,6 +119,8 @@ cc_library { }, windows: { enabled: true, + srcs: ["windows_io.c"], + exclude_srcs: ["unix_io.c"], include_dirs: ["external/e2fsprogs/include/mingw"], cflags: [ "-Wno-error=cpp", @@ -126,7 +128,6 @@ cc_library { "-Wno-unused-variable", "-Wno-error=typedef-redefinition", ], - host_ldlibs: ["-lws2_32"], }, }, |