From: graham.gower Date: Fri, 11 Dec 2009 06:07:36 +0000 (+0000) Subject: Allow use of opkg internals by libopkg users. Not intended to be permanent. X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=commitdiff_plain;h=9e86f112d4c97d836eeaa59fce947f438ce77817 Allow use of opkg internals by libopkg users. Not intended to be permanent. git-svn-id: http://opkg.googlecode.com/svn/trunk@488 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- diff --git a/libopkg/Makefile.am b/libopkg/Makefile.am index 13d4960..9e6608b 100644 --- a/libopkg/Makefile.am +++ b/libopkg/Makefile.am @@ -2,7 +2,7 @@ AM_CFLAGS=-Wall -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DOPKGETCDIR=\"@opkgetcdir@\" -DDATADIR=\"@datadir@\" -I$(top_srcdir) $(BIGENDIAN_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS) $(PATHFINDER_CFLAGS) libopkg_includedir=$(includedir)/libopkg -libopkg_include_HEADERS= opkg.h +libopkg_include_HEADERS= *.h opkg_libcore_sources = args.c args.h libopkg.c libopkg.h\ @@ -45,7 +45,7 @@ libopkg_la_SOURCES = \ libopkg_la_LIBADD = $(top_builddir)/libbb/libbb.la $(CURL_LIBS) $(GPGME_LIBS) $(OPENSSL_LIBS) $(PATHFINDER_LIBS) # make sure we only export symbols that are for public use -libopkg_la_LDFLAGS = -export-symbols-regex "^opkg_.*" +#libopkg_la_LDFLAGS = -export-symbols-regex "^opkg_.*" diff --git a/libopkg/includes.h b/libopkg/includes.h index 65beb56..cac9a41 100644 --- a/libopkg/includes.h +++ b/libopkg/includes.h @@ -1,7 +1,7 @@ #ifndef INCLUDES_H #define INCLUDES_H -#include +#include "config.h" #include #if STDC_HEADERS