| От | Stuart McGraw |
|---|---|
| Тема | Re: building a c function |
| Дата | |
| Msg-id | 4BA2B3D6.4040602@frii.com обсуждение исходный текст |
| Ответ на | Re: building a c function (Carsten Kropf <ckropf2@fh-hof.de>) |
| Список | pgsql-general |
On 03/17/2010 01:56 PM, Carsten Kropf wrote: > I think, what you probably want to do is something like that: > MODULE_big = my_funcs > OBJS = myfunc.o mysubs.o > PG_CONFIG=/usr/local/pgsql/bin/pg_config > PGXS := $(shell $(PG_CONFIG) --pgxs) > include $(PGXS) > > Then you will get a shared library called "my_funcs" which includes both > of your *.o s and will be deployed to postgres lib dir whenever you call > "install" on the makefile. Thanks for the answer Tom and Carsten. It worked fine once I figured out that MODULE_big was not the same as MODULES_big. :-(
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера