[PyQt] [SIP] fix libsip copy when qmake is used
phil at riverbankcomputing.com
Wed May 16 09:24:19 BST 2018
On 16 May 2018, at 8:50 am, Gwenhael Goavec-Merou <gwenj at trabucayre.com> wrote:
> Since revision f945942bc896 the QMAKE_POST_LINK is common to all case with
> DESTDIR_TARGET as first argument for cp. This variable is not available on
> linux (and maybe macos). Due to that, cp fails because DESTDIR_TARGET is empty,
> destination is considered as source (and consequently missing).
> The patch joined fixs this issue by duplicating QMAKE_POST_LINK according to
> each case.
This is the right fix...
-QMAKE_POST_LINK = $(COPY_FILE) $(DESTDIR_TARGET) $$PY_MODULE
+QMAKE_POST_LINK = $(COPY_FILE) $$PY_MODULE_SRC $$PY_MODULE
...but thanks anyway.
More information about the PyQt