pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

electron43: use dlopen.mk to -ldl usage



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Thu Oct 15 16:43:34 2026 +0200
Changeset:	f142717fafb945a1690706e6b3d549eef24d096e

Modified Files:
	electron43/Makefile

Log Message:
electron43: use dlopen.mk to -ldl usage

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f142717fafb945a1690706e6b3d549eef24d096e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 electron43/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diffs:
diff --git a/electron43/Makefile b/electron43/Makefile
index 544bc2b3d8..a5904777be 100644
--- a/electron43/Makefile
+++ b/electron43/Makefile
@@ -100,8 +100,8 @@ DEPENDS+=			xdg-utils-[0-9]*:../../misc/xdg-utils
 .include "platform.mk"
 .include "../../mk/compiler.mk"
 
-# Workaround for brotli and other commands.
-#BUILDLINK_TRANSFORM.NetBSD+=	rm:-ldl
+.include "../../mk/dlopen.buildlink3.mk"
+BUILDLINK_TRANSFORM+=		opt:-ldl:${BUILDLINK_LDADD.dl:Q}
 
 # Let to chromium use the -Wl,-z,relro flag
 BUILDLINK_TRANSFORM+=		rm:-Wl,-zrelro


Home | Main Index | Thread Index | Old Index