summaryrefslogtreecommitdiff
path: root/package/pycurl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/pycurl/Makefile')
-rw-r--r--package/pycurl/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/package/pycurl/Makefile b/package/pycurl/Makefile
index 05dcb49d8..827693423 100644
--- a/package/pycurl/Makefile
+++ b/package/pycurl/Makefile
@@ -24,13 +24,8 @@ INSTALL_STYLE:= manual
XAKE_FLAGS+= GCC_HONOUR_COPTS=s
TARGET_CFLAGS+= -fPIC
-ifeq ($(ADK_NATIVE),)
MAKE_ENV+= LDSHARED="$(TARGET_CC) -shared"
-CURL_CONFIG:= $(STAGING_DIR)/usr/bin/curl-config
-else
-MAKE_ENV+= CC="$(CC)" LDSHARED="$(CC) -shared"
-CURL_CONFIG:= /usr/bin/curl-config
-endif
+CURL_CONFIG:= $(STAGING_TARGET_DIR)/usr/bin/curl-config
include $(TOPDIR)/mk/python.mk