diff --git a/lib/Makefile b/lib/Makefile index 22c261aa47cc..76f4f700db7e 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -96,12 +96,12 @@ _libsmb= libsmb _libpthread= libpthread .endif -.if ${MACHINE_ARCH} != "arm" && !defined(NO_LIBTHR) -_libthr= +.if !defined(NO_LIBTHR) +_libthr= libthr .endif .if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "powerpc" -_libthread_db= +_libthread_db= libthread_db .endif .if !defined(NO_USB)