mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Improve fix pkg-config files for static linking
Amend 4c2eab3a0d
to link against the
libraries without the "_shlib" suffix, since this is meant for static
linking.
This commit is contained in:
@ -405,7 +405,7 @@ endif # PORTNAME == cygwin || PORTNAME == win32
|
||||
# those that point inside the build or source tree. Use sort to
|
||||
# remove duplicates. Also record the -l flags necessary for static
|
||||
# linking, but not those already covered by Requires.private.
|
||||
echo 'Libs.private: $(sort $(filter-out -L.% -L$(top_srcdir)/%,$(filter -L%,$(LDFLAGS) $(SHLIB_LINK)))) $(filter-out $(PKG_CONFIG_REQUIRES_PRIVATE:lib%=-l%),$(filter -l%,$(SHLIB_LINK_INTERNAL) $(SHLIB_LINK)))' >>$@
|
||||
echo 'Libs.private: $(sort $(filter-out -L.% -L$(top_srcdir)/%,$(filter -L%,$(LDFLAGS) $(SHLIB_LINK)))) $(filter-out $(PKG_CONFIG_REQUIRES_PRIVATE:lib%=-l%),$(filter -l%,$(SHLIB_LINK_INTERNAL:%_shlib=%) $(SHLIB_LINK)))' >>$@
|
||||
|
||||
|
||||
##
|
||||
|
Reference in New Issue
Block a user