aboutsummaryrefslogtreecommitdiff
path: root/lib/libpam/static_libpam/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpam/static_libpam/Makefile')
-rw-r--r--lib/libpam/static_libpam/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpam/static_libpam/Makefile b/lib/libpam/static_libpam/Makefile
index ee49517649f9..9c393386efc6 100644
--- a/lib/libpam/static_libpam/Makefile
+++ b/lib/libpam/static_libpam/Makefile
@@ -35,7 +35,7 @@
#
# $FreeBSD$
-.PATH: ${.CURDIR}/../libpam
+.PATH: ${SRCTOP}/lib/libpam
# Only build the static library.
LIB= pam
@@ -66,4 +66,4 @@ CLEANFILES+= openpam_static.o \
openpam_static_modules.o: openpam_static.o ${STATIC_MODULES}
${CC} -nostdlib ${CFLAGS} -o ${.TARGET} -r -Wl,--whole-archive ${.ALLSRC}
-.include "${.CURDIR}/../libpam/Makefile"
+.include "${.CURDIR:H}/libpam/Makefile"