mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Remove allow_nonpic_in_shlib
This was used in a time when a shared libperl or libpython was difficult to come by. That is obsolete, and the idea behind the flag was never fully portable anyway and will likely fail on more modern CPU architectures.
This commit is contained in:
@ -12,9 +12,8 @@ ifeq ($(perl_useshrplib),yes)
|
||||
shared_libperl = yes
|
||||
endif
|
||||
|
||||
# If we don't have a shared library and the platform doesn't allow it
|
||||
# to work without, we have to skip it.
|
||||
ifneq (,$(findstring yes, $(shared_libperl)$(allow_nonpic_in_shlib)))
|
||||
# If we don't have a shared library, we have to skip it.
|
||||
ifeq ($(shared_libperl),yes)
|
||||
|
||||
ifeq ($(PORTNAME), win32)
|
||||
perl_archlibexp := $(subst \,/,$(perl_archlibexp))
|
||||
|
@ -28,9 +28,8 @@ override python_libspec = -framework Python
|
||||
override python_additional_libs =
|
||||
endif
|
||||
|
||||
# If we don't have a shared library and the platform doesn't allow it
|
||||
# to work without, we have to skip it.
|
||||
ifneq (,$(findstring yes, $(shared_libpython)$(allow_nonpic_in_shlib)))
|
||||
# If we don't have a shared library, we have to skip it.
|
||||
ifeq ($(shared_libpython),yes)
|
||||
|
||||
override CPPFLAGS := -I. -I$(srcdir) $(python_includespec) $(CPPFLAGS)
|
||||
|
||||
|
Reference in New Issue
Block a user