modules: package the leds-wndr3700-usb driver
[openwrt.git] / package / opkg / patches / 007-force_static.patch
1 --- a/libopkg/Makefile.am
2 +++ b/libopkg/Makefile.am
3 @@ -36,16 +36,10 @@
4 opkg_util_sources += sha256.c sha256.h
5 endif
6
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)
14
15 -libopkg_la_LIBADD = $(top_builddir)/libbb/libbb.la $(CURL_LIBS) $(GPGME_LIBS) $(OPENSSL_LIBS) $(PATHFINDER_LIBS)
16 -
17 -# make sure we only export symbols that are for public use
18 -libopkg_la_LDFLAGS = -export-symbols-regex "^opkg_.*"
19 -
20 -
21 -
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
25 @@ -2,9 +2,9 @@
26 BUILD_CPU=@build_cpu@
27 ALL_CFLAGS=-g -O -Wall -DHOST_CPU_STR=\"$(HOST_CPU)\" -DBUILD_CPU=@build_cpu@
28
29 -noinst_LTLIBRARIES = libbb.la
30 +noinst_LIBRARIES = libbb.a
31
32 -libbb_la_SOURCES = gz_open.c \
33 +libbb_a_SOURCES = gz_open.c \
34 libbb.h \
35 unzip.c \
36 wfopen.c \
37 --- a/src/Makefile.am
38 +++ b/src/Makefile.am
39 @@ -2,5 +2,5 @@
40 bin_PROGRAMS = opkg-cl
41
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
49 @@ -16,7 +16,7 @@
50 #opkg_active_list_test_SOURCES = opkg_active_list_test.c
51 #opkg_active_list_test_CFLAGS = $(ALL_CFLAGS) -I$(top_srcdir)
52
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
56
57
This page took 0.043006 seconds and 5 git commands to generate.