We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a98fd9 commit 7e35de8Copy full SHA for 7e35de8
1 file changed
src/SPC/builder/unix/library/watcher.php
@@ -18,7 +18,7 @@ protected function build(): void
18
{
19
shell()->cd($this->source_dir . '/watcher-c')
20
->initializeEnv($this)
21
- ->exec(getenv('CC') . ' -c -o libwatcher-c.o ./src/watcher-c.cpp -I ./include -I ../include -std=c++17 -Wall -Wextra -fPIC')
+ ->exec(getenv('CXX') . ' -c -o libwatcher-c.o ./src/watcher-c.cpp -I ./include -I ../include -std=c++17 -Wall -Wextra -fPIC')
22
->exec(getenv('AR') . ' rcs libwatcher-c.a libwatcher-c.o');
23
24
copy($this->source_dir . '/watcher-c/libwatcher-c.a', BUILD_LIB_PATH . '/libwatcher-c.a');
0 commit comments