mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 05:23:06 +00:00
prepare.py: fix package-in-list target on linux
This commit is contained in:
parent
6fa9578a0f
commit
13f3dc1d25
1 changed files with 3 additions and 3 deletions
|
|
@ -118,7 +118,7 @@ all-%:
|
|||
\t{generator} WORK/ios-$*/cmake
|
||||
|
||||
package-in-list-%:
|
||||
\tif ! grep -q " $* " <<< " $(packages) "; then \\
|
||||
\tif ! echo " $(packages) " | grep -q " $* "; then \\
|
||||
\t\techo "$* not in list of available packages: $(packages)"; \\
|
||||
\t\texit 3; \\
|
||||
\tfi
|
||||
|
|
@ -240,9 +240,9 @@ def main(argv=None):
|
|||
if args.generator == 'Ninja':
|
||||
if not check_is_installed("ninja", "it"):
|
||||
return 1
|
||||
generate_makefile(selected_platforms, 'ninja -C')
|
||||
generate_makefile('ninja -C')
|
||||
elif args.generator == "Unix Makefiles":
|
||||
generate_makefile(selected_platforms, '$(MAKE) -C')
|
||||
generate_makefile('$(MAKE) -C')
|
||||
elif args.generator == "Xcode":
|
||||
print("You can now open Xcode project with: open WORK/cmake/Project.xcodeproj")
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue