Update generate_td_tools.sh

This commit is contained in:
Andrea Cavalli 2020-10-11 12:32:42 +02:00
parent af53634d4a
commit aa99d4a39d

View File

@ -48,7 +48,7 @@ cp -r implementations/${IMPLEMENTATION_NAME} ./generated/implementation
echo "Patching implementation files..."
#Fix bug: https://github.com/tdlib/td/issues/1238
if [[ "$IMPLEMENTATION_NAME" = "tdlib" ]]; then
sed -i -f "src/main/replacements/fix-tdlib-tdutils-windows-cmake.sed" ./generated/implementation/tdutils/CMakeLists.txt
sed -f "src/main/replacements/fix-tdlib-tdutils-windows-cmake.sed" -i ./generated/implementation/tdutils/CMakeLists.txt
fi
# Configure cmake