summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac1
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 0da5a98..2e1e5d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,8 @@ ACLOCAL_AMFLAGS = -I m4
lib_LTLIBRARIES = libmidtrans.la
libmidtrans_la_SOURCES = midtrans.c
libmidtrans_la_CPPFLAGS = $(DEPS_CFLAGS)
+libmidtrans_la_LDFLAGS = $(DEPS_LIBS)
if IOS
-libmidtrans_la_LDFLAGS = -static
+libmidtrans_la_LDFLAGS += -static
endif
include_HEADERS = midtrans.h
diff --git a/configure.ac b/configure.ac
index ac4d1eb..06c015f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,6 +15,7 @@ AM_CONDITIONAL([IOS], [test "x$ios" = xtrue])
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_TYPE_SIZE_T
+AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_MACRO_DIRS([m4])
AC_OUTPUT