[asterisk-commits] branch 1.2 r9262 - /branches/1.2/apps/Makefile

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Feb 8 19:31:23 MST 2006


Author: russell
Date: Wed Feb  8 20:31:21 2006
New Revision: 9262

URL: http://svn.digium.com/view/asterisk?rev=9262&view=rev
Log:
add another location for postgresql headers (issue #6419)

Modified:
    branches/1.2/apps/Makefile

Modified: branches/1.2/apps/Makefile
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/Makefile?rev=9262&r1=9261&r2=9262&view=diff
==============================================================================
--- branches/1.2/apps/Makefile (original)
+++ branches/1.2/apps/Makefile Wed Feb  8 20:31:21 2006
@@ -103,7 +103,7 @@
 	$(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS)
 
 app_sql_postgres.o: app_sql_postgres.c
-	$(CC) -pipe -I/usr/local/pgsql/include $(CFLAGS) -c -o app_sql_postgres.o app_sql_postgres.c
+	$(CC) -pipe -I$(CROSS_COMPILE_TARGET)/usr/local/pgsql/include -I$(CROSS_COMPILE_TARGET)/usr/include/postgresql $(CFLAGS) -c -o app_sql_postgres.o app_sql_postgres.c
 
 app_sql_postgres.so: app_sql_postgres.o
 	$(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -L/usr/local/pgsql/lib -lpq



More information about the asterisk-commits mailing list