summaryrefslogtreecommitdiff
path: root/package/libpthread-stubs
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-11-27 22:19:21 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-11-27 22:20:13 +0100
commit739d512289d14ade82e9fbae7f4371e65989622f (patch)
tree66c17c7e39a041169e08ea7137f072e3b65ab945 /package/libpthread-stubs
parentd47894abb5304cf3bb30b3669e596d648b5277ba (diff)
add three library methods, static, shared or both
Rename the static symbol and add the choice to a more visible place for users.
Diffstat (limited to 'package/libpthread-stubs')
-rw-r--r--package/libpthread-stubs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libpthread-stubs/Makefile b/package/libpthread-stubs/Makefile
index b06e726bf..3ada9f220 100644
--- a/package/libpthread-stubs/Makefile
+++ b/package/libpthread-stubs/Makefile
@@ -22,7 +22,7 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBPTHREAD_STUBS,libpthread-stubs,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBPTHREAD_STUBS,libpthread-stubs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y)
+ifeq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),y)
TARGET_LDFLAGS+= -pthread
endif