File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ build() {
4444 set +e
4545 cmake -B build -DINTEGRATE_VCPKG=ON -DCMAKE_BUILD_TYPE=Release \
4646 -DCMAKE_MAKE_PROGRAM=make \
47- -DCMAKE_INSTALL_PREFIX=" $pkgdir " \
47+ -DCMAKE_INSTALL_PREFIX=" /usr " \
4848 -DBUILD_TESTS=OFF -DBUILD_DYNAMIC_LIB=ON -DBUILD_STATIC_LIB=ON \
4949 $ROOT_DIR
5050 if [[ $? -ne 0 ]]; then
Original file line number Diff line number Diff line change @@ -40,3 +40,12 @@ sudo abuild-keygen -a -i -n
4040abuild -F -c -r
4141
4242cp -r /root/packages/pkg ./build
43+
44+ # Test installation
45+ apk add --allow-untrusted build/$PLATFORM /* .apk
46+
47+ cd $ROOT_DIR /win-examples
48+ g++ -o dynamic.out -std=c++11 ./example.cc -Wl,-rpath=/usr/lib -lpulsar
49+ ./dynamic.out
50+ g++ -o static.out -std=c++11 ./example.cc /usr/lib/libpulsarwithdeps.a -lpthread -ldl
51+ ./static.out
You can’t perform that action at this time.
0 commit comments