summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-03-13 21:33:14 +0000
committermidipix <writeonce@midipix.org>2024-03-13 21:34:36 +0000
commitb48cb77c5fe44e3392ecb9f4335c6a9b7401c89d (patch)
treebaa2e81b290a5c3ba91eb693b1ebd0950ccc809a /include
parent198205f4097928184ed5bfa288bb4dfbba1e2b5f (diff)
downloadslibtool-b48cb77c5fe44e3392ecb9f4335c6a9b7401c89d.tar.bz2
slibtool-b48cb77c5fe44e3392ecb9f4335c6a9b7401c89d.tar.xz
link mode: properly interpret -static when output is an executable program.
Diffstat (limited to 'include')
-rw-r--r--include/slibtool/slibtool.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index bf0bf32..bb1fc84 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -78,6 +78,9 @@ 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_PREFER_SHARED SLBT_DRIVER_XFLAG(0x100000)
+#define SLBT_DRIVER_PREFER_STATIC SLBT_DRIVER_XFLAG(0x200000)
+
#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)