summaryrefslogtreecommitdiffstats
path: root/contrib/libdvdnav/module.defs
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libdvdnav/module.defs')
-rw-r--r--contrib/libdvdnav/module.defs7
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