mirror of
https://github.com/espressif/mbedtls.git
synced 2026-09-13 22:09:55 +00:00
Improve make pthread linking mechanism
Signed-off-by: Paul Elliott <[email protected]>
This commit is contained in:
+1
-1
@@ -139,7 +139,7 @@ APPS = \
|
|||||||
x509/req_app \
|
x509/req_app \
|
||||||
# End of APPS
|
# End of APPS
|
||||||
|
|
||||||
ifdef PTHREAD
|
ifeq ($(THREADING),pthread)
|
||||||
APPS += ssl/ssl_pthread_server
|
APPS += ssl/ssl_pthread_server
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -58,7 +58,7 @@ DLEXT ?= so
|
|||||||
EXEXT=
|
EXEXT=
|
||||||
SHARED_SUFFIX=
|
SHARED_SUFFIX=
|
||||||
|
|
||||||
ifdef PTHREAD
|
ifeq ($(THREADING),pthread)
|
||||||
LOCAL_LDFLAGS += -lpthread
|
LOCAL_LDFLAGS += -lpthread
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -218,7 +218,7 @@ pre_initialize_variables () {
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Option to enable linking with pthreads under make
|
# Option to enable linking with pthreads under make
|
||||||
MAKE_THREADING_FLAGS="PTHREAD=1"
|
MAKE_THREADING_FLAGS="THREADING=pthread"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Test whether the component $1 is included in the command line patterns.
|
# Test whether the component $1 is included in the command line patterns.
|
||||||
|
|||||||
Reference in New Issue
Block a user