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
|
||||
git submodule update --init
|
||||
cd td
|
||||
rm -rf build
|
||||
mkdir build
|
||||
#rm -rf build
|
||||
mkdir -p 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 .
|
||||
cd ../..
|
||||
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
|
||||
dotnet build
|
||||
dotnet pack
|
||||
nuget pack
|
||||
|
|
Binary file not shown.
|
@ -8,12 +8,10 @@
|
|||
<license type="expression">BSL-1.0</license>
|
||||
<projectUrl>https://github.com/ForNeVeR/tdlib.native</projectUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>NuGet packaging for tdlib: Telegram client library.</description>
|
||||
<releaseNotes>[To be replaced on release]</releaseNotes>
|
||||
<copyright>Copyright 2022</copyright>
|
||||
<description>NuGet packaging for tdlib: Telegram client library. Contains osx-arm64 runtime native binaries only.</description>
|
||||
<tags>telegram</tags>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="runtimes\**" target="runtimes" />
|
||||
<file src="build\runtimes\**" target="runtimes" />
|
||||
</files>
|
||||
</package>
|
||||
|
|
Loading…
Reference in a new issue