ldlibs.patch 863 B

123456789101112131415161718192021222324252627
  1. From: Andrew Straw <strawman@astraw.com>
  2. Date: Fri, 20 May 2011 08:28:55 -0500
  3. Subject: compile pam_cap with -lpam
  4. A similar fix was in Debian but appears to have been accidentally
  5. dropped. Drop this one if or when debian gets it back so we can
  6. directly sync (Closes: #591410).
  7. Last-Update: 2014-07-26
  8. ---
  9. pam_cap/Makefile | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. diff --git a/pam_cap/Makefile b/pam_cap/Makefile
  12. index cc32fb6..f83e324 100644
  13. --- a/pam_cap/Makefile
  14. +++ b/pam_cap/Makefile
  15. @@ -7,7 +7,7 @@ include ../Make.Rules
  16. # that this next line does *not* require -lpam on it.) If you think it
  17. # does, *verify that it does*, and if you observe that it fails as
  18. # written (and you know why it fails), email me and explain why. Thanks!
  19. -LDLIBS += -L../libcap -lcap
  20. +LDLIBS += -L../libcap -lcap -lpam
  21. all: pam_cap.so
  22. $(MAKE) testcompile