Commit adb89e01 authored by Max Kellermann's avatar Max Kellermann

Makefile.am: build shared library for Android

Doesn't work yet, just to get the Android port started.
parent b7a79537
......@@ -229,6 +229,16 @@ UPNP_SOURCES = \
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
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment