Skip to content

Commit

Permalink
Remove lib prefix for windows dlls
Browse files Browse the repository at this point in the history
  • Loading branch information
gliwka committed Dec 7, 2023
1 parent 942851a commit 3d71300
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,10 @@ case $DETECTED_PLATFORM in
windows-x86_64)
# Path missing DLL export first - upstream PR pending
echo " hs_compile_lit_multi" >> hs.def
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$(pwd)/.." -DCMAKE_INSTALL_LIBDIR="lib" -DPCRE_SOURCE="." -DBUILD_SHARED_LIBS=on .
cmake -G "MinGW Makefiles" -DCMAKE_SHARED_LIBRARY_PREFIX="" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$(pwd)/.." -DCMAKE_INSTALL_LIBDIR="lib" -DPCRE_SOURCE="." -DBUILD_SHARED_LIBS=on .
ls -la
make -j $THREADS
make install/strip
cp ./bin/libhs.dll ./bin/hs.dll
./bin/unit-hyperscan
;;
linux-x86_64)
Expand Down

0 comments on commit 3d71300

Please sign in to comment.