diff options
Diffstat (limited to 'external')
-rw-r--r-- | external/curl/ExternalProject_curl.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/external/curl/ExternalProject_curl.mk b/external/curl/ExternalProject_curl.mk index d44f8e77ee2c..9d39e62e6fd3 100644 --- a/external/curl/ExternalProject_curl.mk +++ b/external/curl/ExternalProject_curl.mk @@ -20,7 +20,11 @@ $(eval $(call gb_ExternalProject_register_targets,curl,\ ifneq ($(OS),WNT) +ifeq ($(OS),EMSCRIPTEN) +curl_CPPFLAGS := $(gb_EMSCRIPTEN_CPPFLAGS) +else curl_CPPFLAGS := +endif curl_LDFLAGS := $(if $(filter LINUX FREEBSD,$(OS)),-Wl$(COMMA)-z$(COMMA)origin -Wl$(COMMA)-rpath$(COMMA)\$$$$ORIGIN) ifneq ($(OS),ANDROID) |