Update generate_td_tools.sh and fix-tdlib-tdutils-windows-cmake.sed
This commit is contained in:
parent
e38aed3832
commit
af53634d4a
@ -44,6 +44,13 @@ echo "Deleting old data..."
|
||||
echo "Copying implementation files..."
|
||||
cp -r implementations/${IMPLEMENTATION_NAME} ./generated/implementation
|
||||
|
||||
# Patch implementation files
|
||||
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
|
||||
fi
|
||||
|
||||
# Configure cmake
|
||||
echo "Configuring CMake..."
|
||||
mkdir ./generated/td_tools/
|
||||
|
@ -0,0 +1 @@
|
||||
s/tdutils PRIVATE shell32/tdutils PRIVATE shell32 crypto32/
|
Loading…
x
Reference in New Issue
Block a user