diff options
| author | Glen Barber <gjb@FreeBSD.org> | 2016-04-04 23:55:32 +0000 |
|---|---|---|
| committer | Glen Barber <gjb@FreeBSD.org> | 2016-04-04 23:55:32 +0000 |
| commit | d60840138f6292c1ceeb177ebe797eca0b2749da (patch) | |
| tree | a027fe5a27446f32854d6a07b34b5f2a992bf283 /libexec/rtld-elf/Makefile | |
| parent | b0b644948c7ed5773b80b8060bb08cb39c024ef5 (diff) | |
| parent | 8e8df7d50ad7f2b0bb1cb0b8c18242ca511635c3 (diff) | |
Notes
Diffstat (limited to 'libexec/rtld-elf/Makefile')
| -rw-r--r-- | libexec/rtld-elf/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index e2ebcce5f857..6ae9130121fa 100644 --- a/libexec/rtld-elf/Makefile +++ b/libexec/rtld-elf/Makefile @@ -49,6 +49,9 @@ CFLAGS+= -fvisibility=hidden .endif LDFLAGS+= -shared -Wl,-Bsymbolic LIBADD= c_pic +.if ${MK_TOOLCHAIN} == "no" +LDFLAGS+= -L${LIBCDIR} +.endif .if ${MACHINE_CPUARCH} == "arm" # Some of the required math functions (div & mod) are implemented in |
