mingw compile error

Поиск
Список
Период
Сортировка
От Bob Rossi
Тема mingw compile error
Дата
Msg-id 20080515151818.GA23354@brasko.net
обсуждение исходный текст
Ответы Re: mingw compile error
Re: mingw compile error
Список pgsql-bugs
Hi,

I noticed that if I build postgresql-8.3.1 on mingw with
--disable-shared --without-zlib, I get a compiler error when it goes to
build the regress test in src/test/regress.

The problem is here,
  $(NAME)$(DLSUFFIX): $(shlib)
          rm -f $(NAME)$(DLSUFFIX)
          $(LN_S) $(shlib) $(NAME)$(DLSUFFIX)
It uses the variable $(shlib) which is only defined if the build is
configured with a shared library. Therefor, the ln -s command comes out
like 'ln -s  regress.dll', and the build fails.

Bob Rossi

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