diff options
author | Dexuan Cui <dexuan.cui@intel.com> | 2011-04-15 16:40:47 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-18 05:43:23 +0100 |
commit | df818bd36864ba515aeeec0c5314d174313c03a3 (patch) | |
tree | dd1740bf445bd5341563d8330dd58811c9079c34 /meta/recipes-extended/newt/files/fix_SHAREDDIR.patch | |
parent | 8ecc3d053c281336a653ee487a3425ada602faaf (diff) | |
download | openembedded-core-df818bd36864ba515aeeec0c5314d174313c03a3.tar.gz |
libnewt: fix parallel-make issue
Add patch to remove hardcoded /usr/include/slang
Fixes [YOCTO #947]
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/newt/files/fix_SHAREDDIR.patch')
-rw-r--r-- | meta/recipes-extended/newt/files/fix_SHAREDDIR.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-extended/newt/files/fix_SHAREDDIR.patch b/meta/recipes-extended/newt/files/fix_SHAREDDIR.patch new file mode 100644 index 0000000000..7795260388 --- /dev/null +++ b/meta/recipes-extended/newt/files/fix_SHAREDDIR.patch @@ -0,0 +1,29 @@ +Upstream-Status: Pending + +Author: dexuan.cui@intel.com +Date: Fri Apr 15 16:17:39 CST 2011 + +The patch fixes a parallel-make issue: when generating $(SHAREDDIR)/%.o, we should +ensure the directory ${SHAREDDIR} exists. + +We need to push the patch to upstream. + +Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> + +--- a/Makefile.in ++++ b/Makefile.in +@@ -114,12 +114,12 @@ + + sharedlib: $(LIBNEWTSH) + +-$(LIBNEWTSH): $(SHAREDDIR) $(SHAREDOBJS) ++$(LIBNEWTSH): $(SHAREDOBJS) + $(CC) -shared -o $(LIBNEWTSH) $(SHLIBFLAGS) $(SHAREDOBJS) $(LDFLAGS) $(LIBS) + ln -fs $(LIBNEWTSONAME) libnewt.so + ln -fs $(LIBNEWTSH) $(LIBNEWTSONAME) + +-$(SHAREDDIR)/%.o : %.c ++$(SHAREDDIR)/%.o : %.c $(SHAREDDIR) + $(CC) $(SHCFLAGS) -c $(CFLAGS) $(CPPFLAGS) -o $@ $< + + install: $(LIBNEWT) install-sh whiptail |