summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-12-11 01:07:36 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-12-11 01:07:36 (EST)
commit9e86f112d4c97d836eeaa59fce947f438ce77817 (patch)
tree50df1da0e0e4e2543f33d68a043b644ba3e49b7d
parentda42d66ec896f5d62865fc83e600bfd16549bd08 (diff)
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
-rw-r--r--libopkg/Makefile.am4
-rw-r--r--libopkg/includes.h2
2 files changed, 3 insertions, 3 deletions
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 <config.h>
+#include "config.h"
#include <stdio.h>
#if STDC_HEADERS