From: Jan Rękorajski Date: Mon, 18 Jul 2011 11:10:26 +0000 (+0000) Subject: - link apache module the way it has a chance of working X-Git-Tag: auto/th/ocaml-net-3_3_4-1~3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Focaml-net.git;a=commitdiff_plain;h=01006661d14c7843e132bc63983d051c1a5df48e - link apache module the way it has a chance of working Changed files: ocaml-net-apache-link.patch -> 1.1 --- diff --git a/ocaml-net-apache-link.patch b/ocaml-net-apache-link.patch new file mode 100644 index 0000000..339bb57 --- /dev/null +++ b/ocaml-net-apache-link.patch @@ -0,0 +1,11 @@ +--- ocamlnet-3.3.4/configure~ 2011-07-18 12:35:45.376035709 +0200 ++++ ocamlnet-3.3.4/configure 2011-07-18 12:41:51.558035626 +0200 +@@ -932,7 +932,7 @@ + # For -enable-apache + APACHE_MAJOR = $apache_major + APACHE_LIBDIR = $apache_libdir +-APACHE_OCAMLLIBS = -l$apache_camlrun -ltermcap -lunix -l$libstr ++APACHE_OCAMLLIBS = -l$apache_camlrun -Wl,-R$apache_ocamllibdir -lunix -l$libstr + APACHE_INCDIR = $apache_incdir + APACHE_CONFDIR = $apache_confdir + APACHE_LDFLAGS_SHLIB = $apache_ldflags_shlib