aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2021-08-10 18:23:22 -0700
committerAndrew G. Morgan <morgan@kernel.org>2021-08-10 18:23:22 -0700
commit4db87d88aec313b6fda78b48b3f28fdc6c751180 (patch)
tree27681a17489b70351a98b4a8f6b27c8afaef1aff
parentb56ffb05b423ad9d28b16c2662f41584f1fac2ff (diff)
downloadlibcap-4db87d88aec313b6fda78b48b3f28fdc6c751180.tar.gz
Noticed that this pam_cap/Makefile comment had unintentionally migrated
Move it to where it makes sense. Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r--pam_cap/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/pam_cap/Makefile b/pam_cap/Makefile
index a4c4891..c01baea 100644
--- a/pam_cap/Makefile
+++ b/pam_cap/Makefile
@@ -10,17 +10,17 @@ install: all
mkdir -p -m 0755 $(FAKEROOT)$(LIBDIR)/security
install -m 0755 pam_cap.so $(FAKEROOT)$(LIBDIR)/security
-# Note (as the author of much of the Linux-PAM library, I am confident
-# that this next line does *not* require -lpam on it.) If you think it
-# does, *verify that it does*, and if you observe that it fails as
-# written (and you know why it fails), email me and explain why. Thanks!
-
../libcap/loader.txt:
$(MAKE) -C ../libcap loader.txt
execable.o: execable.c ../libcap/execable.h ../libcap/loader.txt
$(CC) $(CFLAGS) $(IPATH) -DLIBCAP_VERSION=\"libcap-$(VERSION).$(MINOR)\" -DSHARED_LOADER=\"$(shell cat ../libcap/loader.txt)\" -c execable.c -o $@
+# Note (as the author of much of the Linux-PAM library, I am confident
+# that this next line does *not* require -lpam on it.) If you think it
+# does, *verify that it does*, and if you observe that it fails as
+# written (and you know why it fails), email me and explain why. Thanks!
+
pam_cap.so: pam_cap.o execable.o
$(LD) -o pam_cap.so $+ $(LIBCAPLIB) $(LDFLAGS) --entry=__so_start