Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 55392bc

Browse files
committed
Improve fix pkg-config files for static linking
Amend 4c2eab3 to link against the libraries without the "_shlib" suffix, since this is meant for static linking.
1 parent 0bd305e commit 55392bc

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
@@ -405,7 +405,7 @@ endif # PORTNAME == cygwin || PORTNAME == win32
405405
# those that point inside the build or source tree. Use sort to
406406
# remove duplicates. Also record the -l flags necessary for static
407407
# linking, but not those already covered by Requires.private.
408-
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)))' >>$@
408+
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)))' >>$@
409409

410410

411411
##

0 commit comments

Comments
 (0)