Skip to content

Commit e3d4cee

Browse files
author
hackorum
committed
Apply postgresql-17.4-ldflags_sl_v2.patch
1 parent b597835 commit e3d4cee

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ cxxflags_mod = []
130130

131131
ldflags = []
132132
ldflags_be = []
133-
ldflags_sl = []
133+
ldflags_sl = get_option('ldflags_sl')
134134
ldflags_mod = []
135135

136136
test_c_args = []

meson_options.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ option('darwin_sysroot', type: 'string', value: '',
7070
option('rpath', type: 'boolean', value: true,
7171
description: 'Embed shared library search path in executables')
7272

73+
option('ldflags_sl', type: 'array', value: [],
74+
description: 'Extra linker flags for linking shared libraries only')
7375

7476
# External dependencies
7577

0 commit comments

Comments
 (0)