so packages using ocaml have no problem with as-needed flag
Changed files:
ocaml-as_needed.patch -> 1.1
--- /dev/null
+--- ocaml-3.09.2/configure.orig 2006-11-23 03:30:41.000000000 +0000
++++ ocaml-3.09.2/configure 2006-11-23 03:31:14.000000000 +0000
+@@ -751,7 +751,7 @@
+ # For the terminfo module
+
+ if test "$withcurses" = "yes"; then
+- for libs in "" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do
++ for libs in "" "-ltinfo" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do
+ if sh ./hasgot $libs tgetent tgetstr tgetnum tputs; then
+ echo "termcap functions found (with libraries '$libs')"
+ echo "#define HAS_TERMCAP" >> s.h