Re: [PATCHES] HEAD doesn't cope with libraries in non-default

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] HEAD doesn't cope with libraries in non-default
Дата
Msg-id 13839.1121274871@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] HEAD doesn't cope with libraries in non-default  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: [PATCHES] HEAD doesn't cope with libraries in non-default  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> which looks very odd indeed, especially: 

>   -L -L../../../src/backend -L../../../src/port -L/c/tcl/lib C:/Perl/lib/CORE -lperl58

Ah, I see the problem:

ifeq ($(PORTNAME), win32)
perl_archlibexp := $(subst \,/,$(perl_archlibexp))
perl_privlibexp := $(subst \,/,$(perl_privlibexp))
perl_embed_ldflags := -L $(perl_archlibexp)/CORE -lperl58                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
override CPPFLAGS += -DPLPERL_HAVE_UID_GID
endif

The filter hack depends on -L and the following argument to not be
space-separated.  We made the no-space assumption before for -L in
LDFLAGS, but not for -L in SHLIB_LINK.

I've removed the space in CVS tip, we'll see where that takes us.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [PATCHES] HEAD doesn't cope with libraries in non-default
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: [PATCHES] HEAD doesn't cope with libraries in non-default