From 8e51ed75c58ebe2366f5fecac7b66fc93d6b12cf Mon Sep 17 00:00:00 2001 From: CismonX Date: Tue, 2 May 2023 13:47:54 +0800 Subject: [PATCH] chore: add libtool `-module` flag --- configure.ac | 2 +- examples/Makefile.am | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4b7e9a7..a4298fe 100644 --- a/configure.ac +++ b/configure.ac @@ -15,7 +15,7 @@ AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([foreign]) PKG_PROG_PKG_CONFIG([0.27]) LT_PREREQ([2.4.2]) -LT_INIT +LT_INIT([dlopen]) # -- Checks for programs -- diff --git a/examples/Makefile.am b/examples/Makefile.am index b3439d8..9316248 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -18,6 +18,7 @@ if BUILD_ARIF_RIME dist_man3_MANS += arif_rime.3 libarifrime_la_CPPFLAGS = $(RIME_CFLAGS) -I$(top_srcdir)/include + libarifrime_la_LDFLAGS = -module libarifrime_la_LIBADD = $(RIME_LIBS) libarifrime_la_SOURCES = arif_rime.c