diff options
Diffstat (limited to 'recipes/ncurses/ncurses/use_ldflags.patch')
-rw-r--r-- | recipes/ncurses/ncurses/use_ldflags.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/ncurses/ncurses/use_ldflags.patch b/recipes/ncurses/ncurses/use_ldflags.patch new file mode 100644 index 0000000000..e04f1e576c --- /dev/null +++ b/recipes/ncurses/ncurses/use_ldflags.patch @@ -0,0 +1,12 @@ +diff -urN ncurses-5.4.orig/mk-1st.awk ncurses-5.4/mk-1st.awk +--- ncurses-5.4.orig/mk-1st.awk 2004-01-10 20:48:43.000000000 +0000 ++++ ncurses-5.4/mk-1st.awk 2009-04-02 10:23:04.000000000 +0000 +@@ -287,7 +287,7 @@ + } + end_name = lib_name; + printf "../lib/%s : $(%s_OBJS)\n", lib_name, OBJS +- printf "\tcd ../lib && $(LIBTOOL_LINK) $(%s) -o %s $(%s_OBJS:$o=.lo) -rpath $(DESTDIR)$(libdir) -version-info $(NCURSES_MAJOR):$(NCURSES_MINOR) $(SHLIB_LIST)\n", compile, lib_name, OBJS ++ printf "\tcd ../lib && $(LIBTOOL_LINK) $(%s) $(LDFLAGS) -o %s $(%s_OBJS:$o=.lo) -rpath $(DESTDIR)$(libdir) -version-info $(NCURSES_MAJOR):$(NCURSES_MINOR) $(SHLIB_LIST)\n", compile, lib_name, OBJS + print "" + print "install \\" + print "install.libs \\" |