Fix the library paths to build working language API extensions.
This fixes the unresolved symbol error reported in the PR. PR: ports/29083
This commit is contained in:
@@ -136,6 +136,7 @@ post-extract:
|
||||
|
||||
post-patch:
|
||||
${PERL} -i -pe 's,\blibiconv\b,libgiconv,g;s,-liconv\b,-lgiconv,g' ${WRKSRC}/configure.in
|
||||
find ${WRKSRC}/src/api -type f | xargs ${GREP} -Ele '-L(\.\./)?\.\./c\+\+/lib' /dev/null | xargs ${PERL} -i -pe 's|-L(?:\.\./)?\.\./c\+\+/lib|-L${LOCALBASE}/lib|'
|
||||
.if defined(WITH_GTK) && ${WITH_GTK:L} != no
|
||||
${PERL} -i -pe 's,\bgtk-config\b,${GTK_CONFIG:T},g' ${WRKSRC}/configure.in
|
||||
.endif
|
||||
|
||||
Reference in New Issue
Block a user