[postgis-tickets] r16875 - Loader cunit: Add proj flags

Raul raul at rmr.ninja
Wed Oct 3 03:17:44 PDT 2018


Author: algunenano
Date: 2018-10-03 03:17:43 -0700 (Wed, 03 Oct 2018)
New Revision: 16875

Modified:
   trunk/loader/cunit/Makefile.in
Log:
Loader cunit: Add proj flags

References #4194
Closes https://github.com/postgis/postgis/pull/314



Modified: trunk/loader/cunit/Makefile.in
===================================================================
--- trunk/loader/cunit/Makefile.in	2018-10-03 04:37:32 UTC (rev 16874)
+++ trunk/loader/cunit/Makefile.in	2018-10-03 10:17:43 UTC (rev 16875)
@@ -38,11 +38,15 @@
 GETTEXT_CFLAGS = @GETTEXT_CFLAGS@
 GETTEXT_LDFLAGS = @GETTEXT_LDFLAGS@ @LIBINTL@
 
+# Proj flags
+PROJ_CFLAGS=@PROJ_CPPFLAGS@
+PROJ_LDFLAGS=@PROJ_LDFLAGS@ -lproj
+
 # Built out CFLAGS with ICONV and GETTEXT
-CFLAGS += $(GETTEXT_CFLAGS) $(ICONV_CFLAGS)
+CFLAGS += $(GETTEXT_CFLAGS) $(ICONV_CFLAGS) $(PROJ_CFLAGS)
 
 # Build full linking line
-LDFLAGS = -lm $(GEOS_LDFLAGS) $(GETTEXT_LDFLAGS) $(PGSQL_FE_LDFLAGS) $(ICONV_LDFLAGS) $(CUNIT_LDFLAGS)
+LDFLAGS = -lm $(GEOS_LDFLAGS) $(GETTEXT_LDFLAGS) $(PGSQL_FE_LDFLAGS) $(ICONV_LDFLAGS) $(CUNIT_LDFLAGS) $(PROJ_LDFLAGS)
 
 # Object files
 OBJS=	\



More information about the postgis-tickets mailing list