diff options
-rw-r--r-- | databases/py-PyGreSQL/files/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/py-PyGreSQL/files/Makefile b/databases/py-PyGreSQL/files/Makefile index 3ebb172d0424..0d7661c9f5f2 100644 --- a/databases/py-PyGreSQL/files/Makefile +++ b/databases/py-PyGreSQL/files/Makefile @@ -15,12 +15,12 @@ clean: _pgmodule.so: pgmodule.o ${LD} -Bshareable -lc_r -L${PYTHON_LIBDIR}/config \ - -l${PYTHON_VERSION} -L${PREFIX}/lib -lpq \ + -l${PYTHON_VERSION} -L${PREFIX}/lib -L${PREFIX}/pgsql/lib -lpq \ ${.ALLSRC} -o ${.TARGET} pgmodule.o: pgmodule.c ${CC} -c -I${PREFIX}/include/${PYTHON_VERSION} \ - -I${PREFIX}/include/pgsql ${.ALLSRC} + -I${PREFIX}/include/pgsql -I${PREFIX}/pgsql/include ${.ALLSRC} .py.pyc: ${SETENV} PYTHONPATH=${.CURDIR} ${PYTHON} -c 'import ${.IMPSRC:.py=}' |