From 09d18a79f0e11ad5dd90e3007f7ae688bc50693c Mon Sep 17 00:00:00 2001 From: "Andrew G. Morgan" Date: Thu, 27 Jun 2002 04:04:54 +0000 Subject: Relevant BUGIDs: 565470 Purpose of commit: bugfix Commit summary: --------------- It seems that configure was barfing on some packages because libpam_misc could not compile without also being linked to libpam. --- examples/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/Makefile b/examples/Makefile index 58600f49..7cabccaa 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -14,9 +14,10 @@ else LIBSUFFIX= endif -CFLAGS += -I../libpam_misc/include -I../libpamc/include +CFLAGS += -I$(absolute_srcdir)/libpam_misc/include -LOADLIBES = -L../libpam -L../libpamc -L../libpam_misc -lpam -lpam_misc +LOADLIBES = -L$(absolute_objdir)/libpam -L$(absolute_objdir)/libpamc \ + -L$(absolute_objdir)/libpam_misc -lpam -lpam_misc ifeq ($(STATIC_LIBPAM),yes) ifneq ($(DYNAMIC),) -- cgit v1.2.3