1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-17 04:44:10 +02:00
openwrt-packages/net/samba4/patches/103-samba-4.12-unbundle-libunwind.patch
Andrew Sim 402f4ba4ef samba4: update to 4.17.0
Signed-off-by: Andrew Sim <andrewsimz@gmail.com>
2022-10-07 01:53:26 -07:00

32 lines
1.4 KiB
Diff

--- a/lib/util/wscript_configure
+++ b/lib/util/wscript_configure
@@ -12,17 +12,17 @@ conf.CHECK_FUNCS_IN('backtrace backtrace
conf.CHECK_HEADERS('execinfo.h')
conf.SET_TARGET_TYPE('LIBUNWIND', 'EMPTY')
-if Options.options.with_libunwind:
- if conf.check_cfg(package='libunwind-generic',
- args='--cflags --libs',
- msg='Checking for libunwind',
- uselib_store='LIBUNWIND',
- mandatory=False):
- if conf.CHECK_HEADERS('libunwind.h'):
- conf.SET_TARGET_TYPE('LIBUNWIND', 'SYSLIB')
- else:
- raise Errors.WafError('--with-libunwind specified but libunwind not found')
-elif Options.options.with_libunwind == None:
+#if Options.options.with_libunwind:
+ #if conf.check_cfg(package='libunwind-generic',
+ #args='--cflags --libs',
+ #msg='Checking for libunwind',
+ #uselib_store='LIBUNWIND',
+ #mandatory=False):
+ #if conf.CHECK_HEADERS('libunwind.h'):
+ #conf.SET_TARGET_TYPE('LIBUNWIND', 'SYSLIB')
+ #else:
+ #raise Errors.WafError('--with-libunwind specified but libunwind not found')
+if Options.options.with_libunwind == None:
if not conf.CONFIG_SET('HAVE_BACKTRACE_SYMBOLS') \
and not Options.options.disable_fault_handling:
raise Errors.WafError(