1 --- a/libopkg/Makefile.am
2 +++ b/libopkg/Makefile.am
4 opkg_util_sources += sha256.c sha256.h
7 -lib_LTLIBRARIES = libopkg.la
8 -libopkg_la_SOURCES = \
9 +noinst_LIBRARIES = libopkg.a
10 +libopkg_a_SOURCES = \
11 $(opkg_libcore_sources) \
12 $(opkg_cmd_sources) $(opkg_db_sources) \
13 $(opkg_util_sources) $(opkg_list_sources)
15 -libopkg_la_LIBADD = $(top_builddir)/libbb/libbb.la $(CURL_LIBS) $(GPGME_LIBS) $(OPENSSL_LIBS) $(PATHFINDER_LIBS)
17 -# make sure we only export symbols that are for public use
18 -libopkg_la_LDFLAGS = -export-symbols-regex "^opkg_.*"
22 +libopkg_a_LIBADD = $(top_builddir)/libbb/libbb.a $(CURL_LIBS) $(GPGME_LIBS) $(OPENSSL_LIBS) $(PATHFINDER_LIBS)
23 --- a/libbb/Makefile.am
24 +++ b/libbb/Makefile.am
27 ALL_CFLAGS=-g -O -Wall -DHOST_CPU_STR=\"$(HOST_CPU)\" -DBUILD_CPU=@build_cpu@
29 -noinst_LTLIBRARIES = libbb.la
30 +noinst_LIBRARIES = libbb.a
32 -libbb_la_SOURCES = gz_open.c \
33 +libbb_a_SOURCES = gz_open.c \
40 bin_PROGRAMS = opkg-cl
42 opkg_cl_SOURCES = opkg-frontend.c
43 -opkg_cl_LDADD = $(top_builddir)/libopkg/libopkg.la \
44 - $(top_builddir)/libbb/libbb.la
45 +opkg_cl_LDADD = $(top_builddir)/libopkg/libopkg.a \
46 + $(top_builddir)/libbb/libbb.a
47 --- a/tests/Makefile.am
48 +++ b/tests/Makefile.am
50 #opkg_active_list_test_SOURCES = opkg_active_list_test.c
51 #opkg_active_list_test_CFLAGS = $(ALL_CFLAGS) -I$(top_srcdir)
53 -libopkg_test_LDADD = $(top_builddir)/libopkg/libopkg.la
54 +libopkg_test_LDADD = $(top_builddir)/libopkg/libopkg.a $(top_builddir)/libbb/libbb.a
55 libopkg_test_SOURCE = libopkg_test.c