diff --git a/lib/libkse/support/Makefile.inc b/lib/libkse/support/Makefile.inc index 27f65245acd..5c5d05928d8 100644 --- a/lib/libkse/support/Makefile.inc +++ b/lib/libkse/support/Makefile.inc @@ -6,5 +6,5 @@ SRCS += thr_support.c SOBJS+= thr_libc.So thr_libc.So: thr_support.So - ${CC} -nostdlib -L/usr/lib -o ${.TARGET} -Wl,-x,-r ${.ALLSRC} -lc_pic + ${CC} -nostdlib -o ${.TARGET} -Wl,-x,-r ${.ALLSRC} -lc_pic diff --git a/lib/libpthread/support/Makefile.inc b/lib/libpthread/support/Makefile.inc index 27f65245acd..5c5d05928d8 100644 --- a/lib/libpthread/support/Makefile.inc +++ b/lib/libpthread/support/Makefile.inc @@ -6,5 +6,5 @@ SRCS += thr_support.c SOBJS+= thr_libc.So thr_libc.So: thr_support.So - ${CC} -nostdlib -L/usr/lib -o ${.TARGET} -Wl,-x,-r ${.ALLSRC} -lc_pic + ${CC} -nostdlib -o ${.TARGET} -Wl,-x,-r ${.ALLSRC} -lc_pic