References #4194
Closes https://github.com/postgis/postgis/pull/314
git-svn-id: http://svn.osgeo.org/postgis/trunk@16875
b70326c6-7e19-0410-871a-
916f4a2858ee
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= \