mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
misc/libuuid: enable symbol versioning
Some ports depend on versioned symbols in libuuid, and the meson test appears off because it tries to look for the --version-script without having build the library, and assumes the linker does not support the --version-script. Force versioning. Approved by: portmgr@ (blanket)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
PORTNAME= libuuid
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.41.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= misc
|
||||
|
||||
MAINTAINER= arrowd@FreeBSD.org
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
--- libuuid/meson.build.orig 2025-06-24 07:55:28 UTC
|
||||
+++ libuuid/meson.build
|
||||
@@ -26,10 +26,8 @@ libuuid_link_args = []
|
||||
libuuid_link_depends = []
|
||||
libuuid_link_args = []
|
||||
|
||||
-if cc.has_link_argument('-Wl,--version-script=@0@'.format(libuuid_sym_path))
|
||||
- libuuid_link_depends += [libuuid_sym]
|
||||
- libuuid_link_args += ['-Wl,--version-script=@0@'.format(libuuid_sym_path)]
|
||||
-endif
|
||||
+libuuid_link_depends += [libuuid_sym]
|
||||
+libuuid_link_args += ['-Wl,--version-script=@0@'.format(libuuid_sym_path)]
|
||||
|
||||
thread_dep = dependency('threads')
|
||||
|
||||
Reference in New Issue
Block a user