Commit Graph

20 Commits (master)

Author SHA1 Message Date
Matthias Schiffer 6bc234ed60 tools: pkg-config: fix build with GCC 6
Fixes the following error:

gdate.c: In function ‘g_date_strftime’:
gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral]
       tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
       ^~~~~~

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-01 13:40:41 +02:00
Hauke Mehrtens 43fe09ee77 CC: tools/pkg-config: update to 0.29
backport of r47300

Release announcement:
http://lists.freedesktop.org/archives/pkg-config/2015-September/001019.html

Drop patches, as they have been implemented upstream.

This also fixes a build problem in the glib configure script when the
user id is bigger than 2^21 - 1.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Felix Fietkau <nbd@openwrt.org> [fix OSX compatibility]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-23 23:02:40 +00:00
Imre Kaloz 6d8c43c6b6 tools/pkg-config: fix compile on musl hosts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-04 13:22:54 +00:00
Jo-Philipp Wich 57364b8623 tools: remove static linking support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 00:00:43 +00:00
Luka Perkov e73e2e4ca0 [tools] pkg-config: fix occasional install problem
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 22:09:11 +00:00
Felix Fietkau a690b1adea pkg-config: update to latest version, fix build on Mac OS X 10.9
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-28 15:15:12 +00:00
Felix Fietkau 3c515ed365 tools/pkg-config: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:17:37 +00:00
Jo-Philipp Wich f120a60729 [tools] use HOST_STATIC_LINKING instead of hardcoding -static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:34:30 +00:00
Jo-Philipp Wich 94899ac6af [tools] pkg-config: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:46 +00:00
John Crispin 1e0b48fafb tools: clean up Makefiles / make ccache work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-15 11:43:13 +00:00
Felix Fietkau 090a5384df pkg-config: fix prefix
Now:

% PATH=./staging_dir/host/bin:$PATH STAGING_PREFIX=/test PKG_CONFIG_PATH=$(echo staging_dir/target-*/usr/lib/pkgconfig) ./staging_dir/host/bin/pkg-config --cflags lua -I/test//include

After applying the patch:

% PATH=./staging_dir/host/bin:$PATH STAGING_PREFIX=/test PKG_CONFIG_PATH=$(echo staging_dir/target-*/usr/lib/pkgconfig) ./staging_dir/host/bin/pkg-config --cflags lua -I/test/include

I guess that there sould not be '//' but only one '/'.

Signed-off-by: Luka Perkov < openwrt ->-to->- lukaperkov.net >

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 09:02:49 +00:00
Jo-Philipp Wich dde3336f0d [tools] revert r24406
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 12:58:15 +00:00
Jo-Philipp Wich b69485d99f [tools] pkg-config: install pkg.m4 to aclocal/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 09:35:16 +00:00
Alexandros C. Couloumbis d5634c554b tools/pkg-config: update to version 0.25
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-25 18:56:19 +00:00
Felix Fietkau b374536909 clean up / fix various Host/Clean templates in tools/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-08 20:44:47 +00:00
Felix Fietkau 3195be7429 clean up automake/pkg-config handling, move separate host/package variable exports to templates, fix automake path for host builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-22 22:05:55 +00:00
Felix Fietkau a0b63920f3 pkg-config: disable potentially recursive compat lookups which break on systems with gnome devel tools installed (thx, lubek)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 22:27:22 +00:00
Felix Fietkau b892e1fb85 build system refactoring in preparation for allowing packages to do host-build steps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 04:37:20 +00:00
Lars-Peter Clausen 1a5af54e90 Redefine prefix and exec_prefix for pkg config files instead of libdir and
includedir. Some packages have their includes in subdirs of include and packages
trying to include their headers using pkg-config would fail.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-10 16:07:02 +00:00
John Crispin cad1b62058 added our own pkg-config wrapper, making the sed foo on *.pc files obselete 1/2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-06 23:50:47 +00:00