Fix build
This commit is contained in:
parent
113435aaf0
commit
6b9e24206f
10
build.sh
10
build.sh
|
@ -2,14 +2,14 @@
|
||||||
brew install gperf cmake openssl
|
brew install gperf cmake openssl
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
cd td
|
cd td
|
||||||
rm -rf build
|
#rm -rf build
|
||||||
mkdir build
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl/ -DCMAKE_IN>
|
cmake -DCMAKE_BUILD_TYPE=Release -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl/ -DCMAKE_INSTALL_PREFIX:PATH=/usr/local ..
|
||||||
cmake --build .
|
cmake --build .
|
||||||
cd ../..
|
cd ../..
|
||||||
mkdir -p build/runtimes/osx-arm64/native
|
mkdir -p build/runtimes/osx-arm64/native
|
||||||
mv libtdjson.dylib build/runtimes/osx-arm64/native
|
cp td/build/libtdjson.*.dylib build/runtimes/osx-arm64/native/libtdjson.dylib
|
||||||
ls -lah build/runtimes/osx-arm64/native
|
ls -lah build/runtimes/osx-arm64/native
|
||||||
dotnet build
|
dotnet build
|
||||||
dotnet pack
|
nuget pack
|
||||||
|
|
Binary file not shown.
|
@ -8,12 +8,10 @@
|
||||||
<license type="expression">BSL-1.0</license>
|
<license type="expression">BSL-1.0</license>
|
||||||
<projectUrl>https://github.com/ForNeVeR/tdlib.native</projectUrl>
|
<projectUrl>https://github.com/ForNeVeR/tdlib.native</projectUrl>
|
||||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||||
<description>NuGet packaging for tdlib: Telegram client library.</description>
|
<description>NuGet packaging for tdlib: Telegram client library. Contains osx-arm64 runtime native binaries only.</description>
|
||||||
<releaseNotes>[To be replaced on release]</releaseNotes>
|
|
||||||
<copyright>Copyright 2022</copyright>
|
|
||||||
<tags>telegram</tags>
|
<tags>telegram</tags>
|
||||||
</metadata>
|
</metadata>
|
||||||
<files>
|
<files>
|
||||||
<file src="runtimes\**" target="runtimes" />
|
<file src="build\runtimes\**" target="runtimes" />
|
||||||
</files>
|
</files>
|
||||||
</package>
|
</package>
|
||||||
|
|
Loading…
Reference in a new issue