Makefile.am: build shared library for Android

Doesn't work yet, just to get the Android port started.
This commit is contained in:
Max Kellermann 2014-02-21 10:35:20 +01:00
parent b7a7953757
commit adb89e0121

View File

@ -228,6 +228,16 @@ UPNP_SOURCES = \
src/lib/upnp/WorkQueue.hxx \ src/lib/upnp/WorkQueue.hxx \
src/lib/upnp/Action.hxx src/lib/upnp/Action.hxx
#
# Android native library
#
if ANDROID
all-local: libmpd.so
libmpd.so: $(filter %.a,$(src_mpd_LDADD))
$(AM_V_CXXLD)$(CXXLD) -Wl,-shared -o $@ $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) $(src_mpd_LDADD) $(LIBS)
endif
# #
# Windows resource file # Windows resource file
# #