Make: Link test suites with pthread if PTHREAD is set

This commit is contained in:
Hanno Becker 2019-05-28 16:38:18 +01:00
parent 1ba602c2f6
commit fa37d07a0d

View file

@ -53,6 +53,11 @@ ifdef ZLIB
LOCAL_LDFLAGS += -lz LOCAL_LDFLAGS += -lz
endif endif
# Pthread shared library extension
ifdef PTHREAD
LOCAL_LDFLAGS += -lpthread
endif
# A test application is built for each suites/test_suite_*.data file. # A test application is built for each suites/test_suite_*.data file.
# Application name is same as .data file's base name and can be # Application name is same as .data file's base name and can be
# constructed by stripping path 'suites/' and extension .data. # constructed by stripping path 'suites/' and extension .data.