Allow libpam to build on Linux.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@226 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
parent
82eec0110d
commit
3eeb089306
|
@ -31,7 +31,7 @@
|
|||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
#
|
||||
# $P4: //depot/projects/openpam/lib/Makefile#18 $
|
||||
# $P4: //depot/projects/openpam/lib/Makefile#19 $
|
||||
#
|
||||
|
||||
LIB = pam
|
||||
|
@ -41,6 +41,11 @@ NO_WERROR = yes
|
|||
CFLAGS += -I${.CURDIR}/../include
|
||||
CFLAGS += -DLIB_MAJ=${SHLIB_MAJOR}
|
||||
|
||||
OSNAME != uname -s
|
||||
.if ${OSNAME} == "Linux"
|
||||
LDADD += -ldl
|
||||
.endif
|
||||
|
||||
SRCS =
|
||||
SRCS += openpam_borrow_cred.c
|
||||
SRCS += openpam_configure.c
|
||||
|
|
Loading…
Reference in New Issue