diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-04-22 00:03:18 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-04-22 00:03:18 +0000 |
| commit | 3a5e372a3dafedbb859b76dfdcb054714cd8f2e8 (patch) | |
| tree | 2e873268429c822b85a256fdce06a08e43ce78aa /usr.sbin/pkg_install/delete | |
| parent | b79219d31af32f4a02c991864401538e4812e919 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/pkg_install/delete')
| -rw-r--r-- | usr.sbin/pkg_install/delete/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/delete/Makefile b/usr.sbin/pkg_install/delete/Makefile index 942f524410e0..cd1598dae12e 100644 --- a/usr.sbin/pkg_install/delete/Makefile +++ b/usr.sbin/pkg_install/delete/Makefile @@ -1,8 +1,14 @@ PROG= pkg_delete CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib -LDADD+= -L${.CURDIR}/../lib -L${.CURDIR}/../lib/obj -linstall +.if exists(${.CURDIR}/../lib/obj) +LDADD+= -L${.CURDIR}/../lib/obj -linstall +DPADD+= ${.CURDIR}/../lib/obj/libinstall.a +.else +LDADD+= -L${.CURDIR}/../lib -linstall +DPADD+= ${.CURDIR}/../lib/libinstall.a +.endif SRCS= main.c perform.c |
