summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Chaplin <>2010-09-22 11:28:40 +0800
committerSteve Chaplin <>2010-09-22 11:28:40 +0800
commitd1050afc39d91c96b68b539de6efaa6b7c003630 (patch)
tree6f9cea4ccd57741ffb4ca0586af1d52c8df30806
parentf9c3e4a5dcd0c34c15485458580b7a380ef03204 (diff)
downloadpy2cairo-d1050afc39d91c96b68b539de6efaa6b7c003630.tar.gz
Correction for './waf configure --libdir'. Bug #30230.
-rw-r--r--INSTALL4
-rw-r--r--wscript2
2 files changed, 5 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index 607f358..cce134a 100644
--- a/INSTALL
+++ b/INSTALL
@@ -8,6 +8,10 @@ $ ./waf configure # use --prefix and --libdir if necessary
$ ./waf build
$ ./waf install
+Use
+$ python2 ./waf ...
+if you have python2 and python3 installed, and the default is python 3.
+
Unsupported alternative install methods
---------------------------------------
diff --git a/wscript b/wscript
index d217650..d960112 100644
--- a/wscript
+++ b/wscript
@@ -68,7 +68,7 @@ def build(ctx):
'prefix' : ctx.env['PREFIX'],
'includedir': os.path.join(ctx.env['PREFIX'], 'include'),
}
- obj.install_path = os.path.join(ctx.env['PREFIX'], 'lib', 'pkgconfig')
+ obj.install_path = os.path.join(ctx.env['LIBDIR'], 'pkgconfig')
def dist_hook():