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/libdvdnav/module.defs | |
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/libdvdnav/module.defs')
-rw-r--r-- | contrib/libdvdnav/module.defs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/libdvdnav/module.defs b/contrib/libdvdnav/module.defs index 0e22d2919..697e89988 100644 --- a/contrib/libdvdnav/module.defs +++ b/contrib/libdvdnav/module.defs @@ -1,4 +1,4 @@ -$(eval $(call import.MODULE.defs,LIBDVDNAV,libdvdnav,LIBDVDREAD)) +$(eval $(call import.MODULE.defs,LIBDVDNAV,libdvdnav,PKGCONFIG LIBDVDREAD)) $(eval $(call import.CONTRIB.defs,LIBDVDNAV)) LIBDVDNAV.FETCH.url = http://download.handbrake.fr/handbrake/contrib/libdvdnav-a5c1325.tar.bz2 @@ -6,3 +6,8 @@ LIBDVDNAV.FETCH.url = http://download.handbrake.fr/handbrake/contrib/libdvdnav-a ifneq (max,$(LIBDVDNAV.GCC.g)) LIBDVDNAV.GCC.D += NDEBUG endif + +ifeq (1,$(FEATURE.local_pkgconfig)) + LIBDVDNAV.CONFIGURE.env = PATH="$(call fn.ABSOLUTE,$(CONTRIB.build/)bin):$(PATH)" + LIBDVDNAV.BUILD.env = PATH="$(call fn.ABSOLUTE,$(CONTRIB.build/)bin):$(PATH)" +endif |