Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Muzosh authored Nov 29, 2024
1 parent 6546ea2 commit 8f929d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ else \
fi

if [[ -e "$LIBOQS_ROOT/build/lib/liboqs.a" ]]; then
echo "liboqs library already builded, skipping compilation"; \
echo "liboqs library already built, skipping compilation"; \
else \
rm -rf $LIBOQS_ROOT/build; \
cmake -GNinja -B $LIBOQS_ROOT/build $LIBOQS_ROOT && ninja -j $(nproc) -C $LIBOQS_ROOT/build; \
Expand All @@ -27,4 +27,4 @@ gcc -std=c++20 -O2 -fPIC `php-config --includes` -I$LIBOQS_ROOT/build/include -c

# Create the PHP wrapper
gcc -std=c++20 -shared ./build/oqsphp_wrap.o -L$LIBOQS_ROOT/build/lib -loqs -o ./build/oqsphp.so
echo "Finished"
echo "Finished"

0 comments on commit 8f929d2

Please # to comment.