Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4c2eab3

Browse files
committed
Fix pkg-config files for static linking
Sinceea53100 (PostgreSQL 12), the shipped pkg-config files havebeen broken for statically linking libpq because libpgcommon andlibpgport are missing. This patch adds those two missing privatedependencies (in a non-hardcoded way).Reported-by: Filip Gospodinov <f@gospodinov.ch>Discussion:https://www.postgresql.org/message-id/flat/c7108bde-e051-11d5-a234-99beec01ce2a@gospodinov.ch
1 parentc95ede4 commit4c2eab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Makefile.shlib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ endif # PORTNAME == cygwin || PORTNAME == win32
400400
# those that point inside the build or source tree. Use sort to
401401
# remove duplicates. Also record the -l flags necessary for static
402402
# linking, but not those already covered by Requires.private.
403-
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)))' >>$@
403+
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)))' >>$@
404404

405405

406406
##

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp