Re: building a c function

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: "Vikram Patil"
Дата:
Сообщение: AIX postgresql error
Следующее
От: Grant Allen
Дата:
Сообщение: Re: Many-to-many problem