Skip to content

Commit

Permalink
Adopt webview sorce path change
Browse files Browse the repository at this point in the history
  • Loading branch information
dixyes committed Oct 3, 2024
1 parent 614606f commit 197de9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion macos/libraries/webview.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ protected function build(): void
'rm -rf build && ' .
'mkdir -p build && ' .
'cd build && ' .
'clang++ -c ../webview.cc -std=c++11 -DWEBVIEW_SHARED -o webview.o && ' .
'clang++ -std=c++11 -DWEBVIEW_SHARED -o webview.o ' .
'-I ../core/include ' .
'-c ../core/src/webview.cc && ' .
'ar rcs webview_static.a webview.o',
$ret,
);
Expand Down
2 changes: 1 addition & 1 deletion windows/libraries/webview.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ protected function build(): void
'/c /MT /std:c++17 /EHsc ' .
'/D "WEBVIEW_API=__declspec(dllexport)" ' .
'/I "webview2\build\native\include" ' .
'webview.cc ' .
'core/src/webview.cc ' .
'/Fo:webview_static.obj &&' .
'lib /nologo webview_static.obj /OUT:webview_static.lib ');
$ret = 0;
Expand Down

0 comments on commit 197de9a

Please sign in to comment.