mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Detect Windows perl linkage parameters in configure script.
This means we can now construct a configure test for the library presence. Previously these parameters were only figured out at build time in plperl's GnuMakefile.
This commit is contained in:
@ -16,10 +16,6 @@ endif
|
||||
ifeq ($(shared_libperl),yes)
|
||||
|
||||
ifeq ($(PORTNAME), win32)
|
||||
perl_archlibexp := $(subst \,/,$(perl_archlibexp))
|
||||
perl_privlibexp := $(subst \,/,$(perl_privlibexp))
|
||||
perl_lib := $(basename $(notdir $(wildcard $(perl_archlibexp)/CORE/perl[5-9]*.lib)))
|
||||
perl_embed_ldflags = -L$(perl_archlibexp)/CORE -l$(perl_lib)
|
||||
override CPPFLAGS += -DPLPERL_HAVE_UID_GID
|
||||
# Perl on win32 contains /* within comment all over the header file,
|
||||
# so disable this warning.
|
||||
|
Reference in New Issue
Block a user