mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-14 04:15:35 +08:00
Compare commits
3 Commits
2e3544f296
...
dbb566ac7c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dbb566ac7c | ||
|
|
37b9704fbb | ||
|
|
c225aeffed |
@@ -63,6 +63,7 @@
|
||||
],
|
||||
"frameworks": [
|
||||
"CoreFoundation",
|
||||
"CoreServices",
|
||||
"SystemConfiguration"
|
||||
]
|
||||
},
|
||||
|
||||
@@ -44,6 +44,11 @@ class curl extends MacOSLibraryBase
|
||||
'/NOT SYSTEMCONFIGURATION_FRAMEWORK/m',
|
||||
'FALSE'
|
||||
);
|
||||
FileSystem::replaceFileRegex(
|
||||
SOURCE_PATH . '/curl/CMakeLists.txt',
|
||||
'/NOT CORESERVICES_FRAMEWORK/m',
|
||||
'FALSE'
|
||||
);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,5 +30,6 @@ abstract class BuildCommand extends BaseCommand
|
||||
|
||||
$this->addOption('with-clean', null, null, 'fresh build, remove `source` dir before `make`');
|
||||
$this->addOption('bloat', null, null, 'add all libraries into binary');
|
||||
$this->addOption('rebuild', 'r', null, 'Delete old build and rebuild');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,6 @@ class BuildLibsCommand extends BuildCommand
|
||||
$this->addArgument('libraries', InputArgument::REQUIRED, 'The libraries will be compiled, comma separated');
|
||||
$this->addOption('clean', null, null, 'Clean old download cache and source before fetch');
|
||||
$this->addOption('all', 'A', null, 'Build all libs that static-php-cli needed');
|
||||
$this->addOption('rebuild', 'r', null, 'Delete old build and rebuild');
|
||||
}
|
||||
|
||||
public function initialize(InputInterface $input, OutputInterface $output): void
|
||||
|
||||
Reference in New Issue
Block a user