summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/newt/files/fix_SHAREDDIR.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/newt/files/fix_SHAREDDIR.patch')
-rw-r--r--meta/recipes-extended/newt/files/fix_SHAREDDIR.patch12
1 files changed, 10 insertions, 2 deletions
diff --git a/meta/recipes-extended/newt/files/fix_SHAREDDIR.patch b/meta/recipes-extended/newt/files/fix_SHAREDDIR.patch
index 7795260388..b0a1e8c105 100644
--- a/meta/recipes-extended/newt/files/fix_SHAREDDIR.patch
+++ b/meta/recipes-extended/newt/files/fix_SHAREDDIR.patch
@@ -9,17 +9,22 @@ ensure the directory ${SHAREDDIR} exists.
9We need to push the patch to upstream. 9We need to push the patch to upstream.
10 10
11Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> 11Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
12Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
13---
14 Makefile.in | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
12 16
17diff --git a/Makefile.in b/Makefile.in
13--- a/Makefile.in 18--- a/Makefile.in
14+++ b/Makefile.in 19+++ b/Makefile.in
15@@ -114,12 +114,12 @@ 20@@ -128,12 +128,12 @@ $(SHAREDDIR):
16 21
17 sharedlib: $(LIBNEWTSH) 22 sharedlib: $(LIBNEWTSH)
18 23
19-$(LIBNEWTSH): $(SHAREDDIR) $(SHAREDOBJS) 24-$(LIBNEWTSH): $(SHAREDDIR) $(SHAREDOBJS)
20+$(LIBNEWTSH): $(SHAREDOBJS) 25+$(LIBNEWTSH): $(SHAREDOBJS)
21 $(CC) -shared -o $(LIBNEWTSH) $(SHLIBFLAGS) $(SHAREDOBJS) $(LDFLAGS) $(LIBS) 26 $(CC) -shared -o $(LIBNEWTSH) $(SHLIBFLAGS) $(SHAREDOBJS) $(LDFLAGS) $(LIBS)
22 ln -fs $(LIBNEWTSONAME) libnewt.so 27 ln -fs $(LIBNEWTSONAME) libnewt.$(SOEXT)
23 ln -fs $(LIBNEWTSH) $(LIBNEWTSONAME) 28 ln -fs $(LIBNEWTSH) $(LIBNEWTSONAME)
24 29
25-$(SHAREDDIR)/%.o : %.c 30-$(SHAREDDIR)/%.o : %.c
@@ -27,3 +32,6 @@ Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
27 $(CC) $(SHCFLAGS) -c $(CFLAGS) $(CPPFLAGS) -o $@ $< 32 $(CC) $(SHCFLAGS) -c $(CFLAGS) $(CPPFLAGS) -o $@ $<
28 33
29 install: $(LIBNEWT) install-sh whiptail 34 install: $(LIBNEWT) install-sh whiptail
35--
361.8.1.2
37