diff options
author | Neal H. Walfield <neal@pep.foundation> | 2020-06-17 12:44:39 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2020-06-17 12:44:39 +0200 |
commit | 42b09660c73e0a957ec0d46c86313c68320b0c85 (patch) | |
tree | 41a468c512e713c7b374f71e19fe27edfa04b078 /ffi/Makefile | |
parent | 2f4db8872fb465b5177787f0433a985f99c5d715 (diff) | |
parent | cd20d026549c26ef81a7ebc53abf7ed1b7b4764e (diff) |
Merge branch 'master' into pep-enginepep-engine-Release_2.1.0-RC2
Diffstat (limited to 'ffi/Makefile')
-rw-r--r-- | ffi/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ffi/Makefile b/ffi/Makefile index dde7af48..f35c2238 100644 --- a/ffi/Makefile +++ b/ffi/Makefile @@ -31,10 +31,10 @@ export PREFIX export DESTDIR # $(1) = install dir -# $(2) = whether to set libdir to $(1) (empty string = false) +# $(2) = whether to set libdir and prefix to $(1) (empty string = false) sequoia_pc = \ sed -e 's|VERSION|$(VERSION)|g' \ - -e 's|PREFIX|$(shell pwd)|g' \ + $(if $(2),-e 's|PREFIX|$(shell pwd)|g',-e's|PREFIX|$(PREFIX)|g') \ $(if $(2),-e 's|libdir=.*|libdir=$(1)|g') \ sequoia.pc.in \ >$(1)/sequoia.pc |