Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[droid] add android platform and ldflags

Android solibs must be unversioned.
  • Loading branch information...
commit a82b35c4b4079738d4950d861835680b41b3ad28 1 parent 9e7a5ba
Cory Fields authored
View
1  addons/pvr.demo/Makefile.am
@@ -16,4 +16,5 @@ include ../Makefile.include.am
libpvrdemo_addon_la_SOURCES = src/client.cpp \
src/PVRDemoData.cpp
+libpvrdemo_addon_la_LDFLAGS = @TARGET_LDFLAGS@
View
1  addons/pvr.fortherecord.argus/Makefile.am
@@ -37,4 +37,5 @@ libfortherecord_addon_la_SOURCES = src/activerecording.cpp \
src/lib/tsreader/FileReader.cpp \
src/lib/tsreader/MultiFileReader.cpp \
src/lib/tsreader/TSReader.cpp
+libfortherecord_addon_la_LDFLAGS = @TARGET_LDFLAGS@
View
1  addons/pvr.hts/Makefile.am
@@ -18,4 +18,5 @@ libtvheadend_addon_la_SOURCES = src/client.cpp \
src/HTSPConnection.cpp \
src/HTSPData.cpp \
src/HTSPDemux.cpp
+libtvheadend_addon_la_LDFLAGS = @TARGET_LDFLAGS@
View
1  addons/pvr.mediaportal.tvserver/Makefile.am
@@ -30,4 +30,5 @@ libmediaportal_addon_la_SOURCES = src/Cards.cpp \
src/lib/tsreader/FileReader.cpp \
src/lib/tsreader/MultiFileReader.cpp \
src/lib/tsreader/TSReader.cpp
+libmediaportal_addon_la_LDFLAGS = @TARGET_LDFLAGS@
View
1  addons/pvr.njoy/Makefile.am
@@ -16,4 +16,5 @@ include ../Makefile.include.am
libpvrnjoy_addon_la_SOURCES = src/client.cpp \
src/N7Xml.cpp
+libpvrnjoy_addon_la_LDFLAGS = @TARGET_LDFLAGS@
View
2  addons/pvr.vdr.vnsi/Makefile.am
@@ -21,4 +21,4 @@ libvdrvnsi_addon_la_SOURCES = src/client.cpp \
src/requestpacket.cpp \
src/responsepacket.cpp \
src/tools.cpp
-
+libvdrvnsi_addon_la_LDFLAGS = @TARGET_LDFLAGS@
View
8 configure.ac
@@ -33,8 +33,13 @@ HOST_INCLUDES=""
HOST_CXXFLAGS=""
ARCH_DEFINES="-DTARGET_POSIX -DTARGET_LINUX -D_LINUX"
DYN_LIB_EXT="so"
-
+TARGET_LDFLAGS=""
case "${host}" in
+ arm-*-linux-androideabi)
+ TARGET_LDFLAGS="-avoid-version -no-undefined"
+ OS="android"
+ ARCHITECTURE="arm"
+ ;;
arm*-*-linux*)
OS="linux"
ARCHITECTURE="arm"
@@ -92,6 +97,7 @@ AC_SUBST(HOST_INCLUDES)
AC_SUBST(OS)
AC_SUBST(ARCH_DEFINES)
AC_SUBST(DYN_LIB_EXT)
+AC_SUBST(TARGET_LDFLAGS)
if test "x$host_os_osx" = "xyes"; then
AM_CONDITIONAL(HOST_IS_OSX, true)
Please sign in to comment.
Something went wrong with that request. Please try again.