mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 11:02:44 +00:00
Removed a buggy ifdef for not linking libmd explicitly. Explicit
linkage is needed for the NOSHARED=YES case, so it is simplest to never depend on the automagic linkage for elf shared libraries. Reviewed by: jdp
This commit is contained in:
parent
1d0de5e557
commit
83294a65d7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38750
@ -1,5 +1,5 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
||||
# $Id$
|
||||
# $Id: Makefile,v 1.19 1998/08/30 17:02:51 gpalmer Exp $
|
||||
|
||||
PROG= su
|
||||
SRCS= su.c
|
||||
@ -11,8 +11,8 @@ DPADD+= ${LIBUTIL}
|
||||
|
||||
.if !defined(LC_AUTH)
|
||||
COPTS+= -DSKEY
|
||||
LDADD+= -lskey -lcrypt
|
||||
DPADD+= ${LIBSKEY} ${LIBCRYPT}
|
||||
LDADD+= -lskey -lmd -lcrypt
|
||||
DPADD+= ${LIBSKEY} ${LIBMD} ${LIBCRYPT}
|
||||
.endif
|
||||
|
||||
.if defined(WHEELSU)
|
||||
@ -28,12 +28,6 @@ LDADD+= -lkrb -ldes
|
||||
DISTRIBUTION= krb
|
||||
.endif
|
||||
|
||||
# Do we have to provide an implementation for libskey.so?
|
||||
.if ${OBJFORMAT} != elf || ${MACHINE_ARCH} == "alpha"
|
||||
LDADD+= -lmd
|
||||
DPADD+= ${LIBMD}
|
||||
.endif
|
||||
|
||||
BINOWN= root
|
||||
BINMODE=4555
|
||||
INSTALLFLAGS=-fschg
|
||||
|
Loading…
Reference in New Issue
Block a user