From ac06afca3ea8faa7b9cd7d0d48c790efa90c9e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Mon, 10 Oct 2022 17:08:59 +0800 Subject: User app would crash on Android without these lines --- Makefile.am | 1 + configure.ac | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index a185925..8d84dd3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,7 @@ lib_LTLIBRARIES = libshopify.la libshopify_la_SOURCES = shopify.c libshopify_la_CPPFLAGS = $(DEPS_CFLAGS) +libshopify_la_LDFLAGS = $(DEPS_LIBS) include_HEADERS = shopify.h pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = shopify.pc diff --git a/configure.ac b/configure.ac index e82b3e1..d644bf9 100644 --- a/configure.ac +++ b/configure.ac @@ -10,5 +10,6 @@ AC_CHECK_FUNCS([strrchr]) AC_FUNC_MALLOC AC_FUNC_REALLOC AC_TYPE_SIZE_T +AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([Makefile shopify.pc]) AC_OUTPUT -- cgit v1.2.3