Skip to content

Libffi build fail on Mac #1569

Description

@Thong-Tran

Log:

  RAN: /bin/cp -t /Users/ivc/kivy/.buildozer/android/platform/build/build/libs_collections/mgame/armeabi-v7a arm-unknown-linux-androideabi/.libs/libffi.so

  STDOUT:
/bin/cp: illegal option -- t
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory

shprint(sh.cp, '-t', self.ctx.get_libs_dir(arch.arch),
join(self.get_host(arch), '.libs', 'libffi.so'))

It work again when I change it to:

shprint(sh.cp, join(self.get_host(arch), '.libs', 'libffi.so'),
                    self.ctx.get_libs_dir(arch.arch))

Versions

  • Python: 3.5
  • OS: Mac 10.13.6
  • Buildozer: master
  • python-for-android: master

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions