diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-05-11 22:19:24 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-05-11 22:19:24 +0000 |
commit | 20de25aa74b2bacbc5cb913a1f6272d5e8ab8aac (patch) | |
tree | 506296799fd4bdcae4852d1b43519c112bb0b01f /libexec | |
parent | f03f7d1bdcb4d37382d1eb9d2e02897f7768cea9 (diff) |
use CFLAGS with -I to reach for prebind.h
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ld.so/ldconfig/Makefile | 4 | ||||
-rw-r--r-- | libexec/ld.so/ldconfig/prebind_delete.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libexec/ld.so/ldconfig/Makefile b/libexec/ld.so/ldconfig/Makefile index 4f0e1109827..1b165066953 100644 --- a/libexec/ld.so/ldconfig/Makefile +++ b/libexec/ld.so/ldconfig/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.5 2006/05/11 22:03:22 deraadt Exp $ +# $OpenBSD: Makefile,v 1.6 2006/05/11 22:19:22 deraadt Exp $ # $NetBSD: Makefile,v 1.10 1995/03/06 04:24:41 cgd Exp $ PROG= ldconfig SRCS= ldconfig.c shlib.c etc.c prebind_delete.c LDDIR?= $(.CURDIR)/.. #CFLAGS+=-Werror -#CFLAGS+=-I$(.CURDIR) -I$(LDDIR)/$(MACHINE_ARCH) +CFLAGS+=-I$(.CURDIR) -I$(.CURDIR)/.. LDSTATIC=${STATIC} BINDIR= /sbin MAN= ldconfig.8 diff --git a/libexec/ld.so/ldconfig/prebind_delete.c b/libexec/ld.so/ldconfig/prebind_delete.c index 6933f11acc9..ddcad2c9dc5 100644 --- a/libexec/ld.so/ldconfig/prebind_delete.c +++ b/libexec/ld.so/ldconfig/prebind_delete.c @@ -1,4 +1,4 @@ -/* $OpenBSD: prebind_delete.c,v 1.1 2006/05/11 22:03:22 deraadt Exp $ */ +/* $OpenBSD: prebind_delete.c,v 1.2 2006/05/11 22:19:23 deraadt Exp $ */ /* * Copyright (c) 2006 Dale Rahn <drahn@dalerahn.com> @@ -26,7 +26,7 @@ #include <unistd.h> #include <string.h> #include <errno.h> -#include "../prebind.h" +#include "prebind.h" #define BUFSZ (256 * 1024) |