diff options
author | Rodeo <[email protected]> | 2014-02-07 19:21:19 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2014-02-07 19:21:19 +0000 |
commit | 903357b41263285e03bc83d41f9224d91ab4fb1a (patch) | |
tree | ec66076bdb7a914045486ffea66055cb4c40ab95 /contrib/libbluray | |
parent | 4b014e9417611581e70649f2bd7d950b1b2347b5 (diff) |
build: use a local version of pkg-config when necessary (Darwin-only).
Automatically enabled when pkg-config detection fails, and can
be forced with the --enable-local-pkgconfig configure option.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6019 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib/libbluray')
-rw-r--r-- | contrib/libbluray/module.defs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/libbluray/module.defs b/contrib/libbluray/module.defs index 6c1c0f195..5a7b610e3 100644 --- a/contrib/libbluray/module.defs +++ b/contrib/libbluray/module.defs @@ -1,5 +1,4 @@ -__deps__ := LIBXML2 FREETYPE -$(eval $(call import.MODULE.defs,LIBBLURAY,libbluray,$(__deps__))) +$(eval $(call import.MODULE.defs,LIBBLURAY,libbluray,PKGCONFIG LIBXML2 FREETYPE)) $(eval $(call import.CONTRIB.defs,LIBBLURAY)) LIBBLURAY.FETCH.url = http://download.handbrake.fr/handbrake/contrib/libbluray-0.5.0.tar.bz2 @@ -15,3 +14,8 @@ ifeq (none,$(LIBBLURAY.GCC.O)) endif LIBBLURAY.CONFIGURE.extra += --disable-examples + +ifeq (1,$(FEATURE.local_pkgconfig)) + LIBBLURAY.CONFIGURE.env = PATH="$(call fn.ABSOLUTE,$(CONTRIB.build/)bin):$(PATH)" + LIBBLURAY.BUILD.env = PATH="$(call fn.ABSOLUTE,$(CONTRIB.build/)bin):$(PATH)" +endif |