[libgpiod,v1.6.x,0/3] build: fix compile issues against non-glibc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix issues when building against a C library other than glibc, such as
Android's Bionic libc. The basename() patch isn't needed on master.

A commit with a sample Android.bp file that's working against Android 11 is
included for informational purposes, which I don't expect Bartosz to pull.

Benjamin Li (3):
  tools: use getprogname() when available to remove dependency on glibc
  core: add missing #include for basename()
  build: add Android.bp to build within Android tree

 Android.bp           | 126 +++++++++++++++++++++++++++++++++++++++++++
 configure.ac         |   5 ++
 lib/core.c           |   1 +
 tools/gpiodetect.c   |   4 +-
 tools/gpiofind.c     |   4 +-
 tools/gpioget.c      |   4 +-
 tools/gpioinfo.c     |   4 +-
 tools/gpiomon.c      |   4 +-
 tools/gpioset.c      |   4 +-
 tools/tools-common.c |  12 +++--
 tools/tools-common.h |   4 +-
 11 files changed, 154 insertions(+), 18 deletions(-)
 create mode 100644 Android.bp

-- 
2.25.1




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux