Skip to content

Commit

Permalink
Fix Windows bootstrap build
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Feb 20, 2025
1 parent bcdc0ff commit cc6a4ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/bootstrap/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ function build_jni() {

# Keep this `find` command in sync with the `srcs` of
# //src/main/native/windows:windows_jni
local srcs=$(find src/main/native/windows -name '*.cc' -o -name '*.h')
local srcs="src/main/native/common.cc $(find src/main/native/windows -name '*.cc' -o -name '*.h')"
[ -n "$srcs" ] || fail "Could not find sources for Windows JNI library"

# do not quote $srcs because we need to expand it to multiple args
Expand Down
2 changes: 1 addition & 1 deletion src/main/native/common.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <jni.h>
#include "src/main/native/jni.h"

namespace blaze_jni {

Expand Down

0 comments on commit cc6a4ca

Please sign in to comment.