summaryrefslogtreecommitdiff
path: root/package/libmpc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-04-26 05:29:04 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-04-26 08:20:14 -0500
commit9550f70e71928ee936170d11f4984a42b3e717f0 (patch)
tree5e5f96f327e0a69bac7fefc13def2886e8affa14 /package/libmpc
parenta19820e6c3a85672cd5e35e28be18bc00a64443f (diff)
explicit link libm for pow()
Diffstat (limited to 'package/libmpc')
-rw-r--r--package/libmpc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libmpc/Makefile b/package/libmpc/Makefile
index f0b3b6ed5..936d7b463 100644
--- a/package/libmpc/Makefile
+++ b/package/libmpc/Makefile
@@ -16,6 +16,8 @@ include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBMPC,libmpc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+TARGET_LDFLAGS+= -lm
+
libmpc-install:
${INSTALL_DIR} ${IDIR_LIBMPC}/usr/lib
${CP} ${WRKINST}/usr/lib/libmpc.so* ${IDIR_LIBMPC}/usr/lib