pgxs question - linking c-functions to external libraries
В списке pgsql-general по дате отправления:
| От | johnduffy@f2s.com |
|---|---|
| Тема | pgxs question - linking c-functions to external libraries |
| Дата | |
| Msg-id | 1211200763.483174fba176f@webmail.freedom2surf.net обсуждение |
| Ответы |
Re: pgxs question - linking c-functions to external libraries
pgxs question - linking c-functions to external libraries |
| Список | pgsql-general |
Hi I have written a number of C-Function which compile and link against the GNU Scientific Library libraries 'libgsl' and 'libgslcblas' when using a hand written Makefile, but I would like to use PGXS. My functions compile fine using PGXS, but don't link against the GSL libraries. How do I specify the GSL libraries as external libraries to link against in the PGXS Makfile? I have tried the following which don't work: PG_CPPFLAGS = -lgsl -lgslcblas PG_LIBS = -lgsl -gslcblas SHLIB_LINK = -lgsl -gslcblas My PGXS makefile is: MODULES pg_gsl PGXS := $(shell $(PG_CONFIG) --pgxs) include $(PGXS) Many thanks John
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера