Allow use of opkg internals by libopkg users. Not intended to be permanent.
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 11 Dec 2009 06:07:36 +0000 (06:07 +0000)
committergraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 11 Dec 2009 06:07:36 +0000 (06:07 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@488 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

libopkg/Makefile.am
libopkg/includes.h

index 13d496023d9953f87c0208aa0a0a55451121cc6f..9e6608b2a8f074c4cbcafcbd383b8704929adf7c 100644 (file)
@@ -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
 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\
 
 
 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_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_.*"
 
 
 
 
 
 
index 65beb56e7e758489712b27110c0d87c707dbfdcf..cac9a41207d636f1885c60954e3d1963ba9d204e 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef INCLUDES_H
 #define INCLUDES_H
 
 #ifndef INCLUDES_H
 #define INCLUDES_H
 
-#include <config.h>
+#include "config.h"
 #include <stdio.h>
 
 #if STDC_HEADERS
 #include <stdio.h>
 
 #if STDC_HEADERS