Call a global variable in our jhbuildrc _libdir not libdir

jhbuild will complain if there are unknown variables not prefixed
with _ in the jhbuildrc, so rename libdir to _libdir.
This commit is contained in:
Owen W. Taylor 2009-03-17 16:09:06 -04:00
parent bd2fecc222
commit 384b88910a

View File

@ -30,10 +30,10 @@ prefix = os.path.expanduser('~/gnome-shell/install')
# Use system libraries for the builds # Use system libraries for the builds
if use_lib64: if use_lib64:
libdir = 'lib64' _libdir = 'lib64'
else: else:
libdir = 'lib' _libdir = 'lib'
addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', libdir, 'pkgconfig')) addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', _libdir, 'pkgconfig'))
addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'share', 'pkgconfig')) addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'share', 'pkgconfig'))
# Look in /usr/share for icons, D-BUS service files, etc # Look in /usr/share for icons, D-BUS service files, etc