From ec361714cdf8709955962c8696c42d2ccd8ce5e8 Mon Sep 17 00:00:00 2001
From: midipix <writeonce@midipix.org>
Date: Tue, 5 Mar 2024 00:00:05 +0000
Subject: slbt_exec_link_create_expsyms_archive(): added support for -dlpreopen
 self.

---
 include/slibtool/slibtool.h | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'include')

diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index d89e184..96e3738 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -78,6 +78,11 @@ extern "C" {
 #define SLBT_DRIVER_MODE_AR_CHECK	SLBT_DRIVER_XFLAG(0x020000)
 #define SLBT_DRIVER_MODE_AR_MERGE	SLBT_DRIVER_XFLAG(0x040000)
 
+#define SLBT_DRIVER_DLOPEN_SELF         SLBT_DRIVER_XFLAG(0x10000000)
+#define SLBT_DRIVER_DLOPEN_FORCE        SLBT_DRIVER_XFLAG(0x20000000)
+#define SLBT_DRIVER_DLPREOPEN_SELF      SLBT_DRIVER_XFLAG(0x40000000)
+#define SLBT_DRIVER_DLPREOPEN_FORCE     SLBT_DRIVER_XFLAG(0x80000000)
+
 /* unit action flags */
 #define SLBT_ACTION_MAP_READWRITE	0x0001
 
-- 
cgit v1.2.3