Skip to content

Commit

Permalink
Fixed an issue where Android example would not compile on Mac. (#96)
Browse files Browse the repository at this point in the history
* Fixed an issue where Android example would not compile on Mac.

* add newline, absl use 20211102.0 version.
  • Loading branch information
lilinxiong authored Oct 12, 2022
1 parent c2395ff commit a00eade
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
7 changes: 7 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ git_repository(
name = "com_google_absl",
remote = "https://github.com/abseil/abseil-cpp.git",
tag = "20211102.0",
# Remove after https://github.com/abseil/abseil-cpp/issues/326 is solved.
patches = [
"@//third_party:com_google_absl_f863b622fe13612433fdf43f76547d5edda0c93001.diff"
],
patch_args = [
"-p1",
]
)

# Filesystem
Expand Down
5 changes: 5 additions & 0 deletions third_party/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
licenses(["notice"]) # Apache License 2.0

exports_files(["LICENSE"])

package(default_visibility = ["//visibility:public"])
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/absl/time/internal/cctz/BUILD.bazel b/absl/time/internal/cctz/BUILD.bazel
index 9fceffe..e7f9d01 100644
--- a/absl/time/internal/cctz/BUILD.bazel
+++ b/absl/time/internal/cctz/BUILD.bazel
@@ -69,8 +69,5 @@ cc_library(
"include/cctz/zone_info_source.h",
],
linkopts = select({
- ":osx": [
- "-framework Foundation",
- ],
":ios": [
"-framework Foundation",
],

0 comments on commit a00eade

Please sign in to comment.