[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-cpio] [PATCH] fix for $(srcdir) != $(objdir)
From: |
Robert Millan |
Subject: |
[Bug-cpio] [PATCH] fix for $(srcdir) != $(objdir) |
Date: |
Wed, 26 Dec 2007 10:29:48 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
This fixes a build problem when $(objdir) != $(srcdir). The problem happens
on platforms that lack <alloca.h> (and maybe others). When system-wide
alloca.h is not found, the build system generates $(objdir)/lib/alloca.h
dynamicaly to cope with that. However, our include list has $(srcdir)/lib
not $(objdir)/lib, making <alloca.h> unfindable.
diff -ur cpio-2.9/src/Makefile.am cpio-2.9.srcdir/src/Makefile.am
--- cpio-2.9/src/Makefile.am 2007-06-27 16:00:13.000000000 +0200
+++ cpio-2.9.srcdir/src/Makefile.am 2007-12-26 10:24:53.000000000 +0100
@@ -16,7 +16,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA.
-INCLUDES=-I. -I.. -I$(top_srcdir)/lib
+INCLUDES=-I. -I.. -I$(top_srcdir)/lib -I../lib
bin_PROGRAMS=cpio @CPIO_MT_PROG@
EXTRA_PROGRAMS=mt
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
- [Bug-cpio] [PATCH] fix for $(srcdir) != $(objdir),
Robert Millan <=