[Pkg-ocaml-maint-commits] r2029 - trunk/packages/postgresql-ocaml/trunk/debian

Stefano Zacchiroli zack at costa.debian.org
Sun Nov 13 11:12:36 UTC 2005


Author: zack
Date: 2005-11-13 11:12:36 +0000 (Sun, 13 Nov 2005)
New Revision: 2029

Modified:
   trunk/packages/postgresql-ocaml/trunk/debian/rules
Log:
compile with -fPIC


Modified: trunk/packages/postgresql-ocaml/trunk/debian/rules
===================================================================
--- trunk/packages/postgresql-ocaml/trunk/debian/rules	2005-11-13 11:06:05 UTC (rev 2028)
+++ trunk/packages/postgresql-ocaml/trunk/debian/rules	2005-11-13 11:12:36 UTC (rev 2029)
@@ -11,7 +11,7 @@
 HAVE_OCAMLOPT := $(shell test -x /usr/bin/ocamlopt && echo "yes")
 DEB_SRCDIR = $(CURDIR)/lib
 DEB_MAKE_BUILD_TARGET = byte-code-library
-CFLAGS += -I$(shell pg_config --includedir)
+CFLAGS += -I$(shell pg_config --includedir) -fPIC
 DEB_DH_GENCONTROL_ARGS = -- -VF:OCamlABI="$(OCAMLABI)"
 
 BYTE_STUFF="libpostgresql_stubs.a postgresql.cma postgresql.cmi postgresql.mli dllpostgresql_stubs.so"




More information about the Pkg-ocaml-maint-commits mailing list