-
Notifications
You must be signed in to change notification settings - Fork 3k
BuildBreak: libtool on MacOS doesn't allow duplicated filenames #604
Description
When building the absl_strings static library, libtool emits a warning, which is in fact something that breaks later eventually: /Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (escaping.o) in output file used for input files
The gist is that you can't have two files in a MacOS static library with the same base filename, as one will override the other. Basically, Apple's libtool crops the directory name away, only to keep the base filename.
This breaks eventually deep into gRPC's build system, thanks to sanity checks provided by NodeJS' build system: grpc/grpc#21702
Suggest adding a suffix to this duplicated filename to make Apple's libtool happy:
abseil-cpp/absl/strings/CMakeLists.txt
Line 41 in b3aaac8
| "internal/escaping.cc" |