diff options
Diffstat (limited to 'java/jdk13')
| -rw-r--r-- | java/jdk13/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/java/jdk13/Makefile b/java/jdk13/Makefile index b0fe174ce68f..c9deea2623ab 100644 --- a/java/jdk13/Makefile +++ b/java/jdk13/Makefile @@ -208,7 +208,10 @@ post-patch: done .if defined(WITH_NATIVE_THREADS) || defined(WITH_HOTSPOT) @for file in ${PTHREAD_FILES}; do \ - ${REINPLACE_CMD} -e "s:-pthread:${PTHREAD_LIBS}:g" ${WRKSRC}/$${file}; \ + ${REINPLACE_CMD} -e "s:-pthread:${PTHREAD_LIBS}:g" \ + -e "s:-lc_r:${PTHREAD_LIBS}:g" \ + -e "s:-lpthread:${PTHREAD_LIBS}:g" \ + ${WRKSRC}/$${file}; \ done .endif |
