- # Use $CC instead of $CXX to link in order to avoid linking
- # against libgnustl_shared.so, since the launcher script
- # below removes LD_LIBRARY_PATH.
- $CC $CFLAGS $LDFLAGS \
- -std=c++14 -Wall -Wextra -pedantic -Werror \
- -fno-exceptions \
- -lOpenSLES \
- $TERMUX_PKG_BUILDER_DIR/play-audio.cpp -o $LIBEXEC_BINARY