graphics/resvg-capi: Add SONAME

This commit is contained in:
Tatsuki Makino 2023-01-10 21:53:04 -08:00 committed by Yuri Victorovich
parent cc8a1878e0
commit 6b994af3b2
2 changed files with 9 additions and 0 deletions

View File

@ -1,6 +1,7 @@
PORTNAME= resvg-c-api
DISTVERSIONPREFIX= v
DISTVERSION= 0.28.0
PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= yuri@FreeBSD.org

View File

@ -0,0 +1,8 @@
-- add SONAME
--- build.rs.orig 1970-01-01 00:00:00 UTC
+++ build.rs
@@ -0,0 +1,3 @@
+fn main() {
+ println!("cargo:rustc-cdylib-link-arg=-Wl,-soname,libresvg.so");
+}