package/swig: create a symlink for swig3.0
PATCH 1/1 package/swig: create a symlink for swig3.0
From: Yegor Yefremov <[email protected]>
For now swig package creates a symlink to the latest swig version i.e. swig4.0. If the host already has both CMake 3.10 and earlier swig version then the earlier version (swig2.0 or swig3.0) will be detected. This happens because CMake 3.10 doesn't know about swig4.0 and thus searches for swig3.0 first and finds it on the host.
With the new symlink CMake will find buildroot's swig binary.
--- package/swig/swig.mk | 1 + 1 file changed, 1 insertion(+)
package/swig/swig.mk +1 -0
@@ -27,6 +27,7 @@ SWIG_LICENSE_FILES = LICENSE LICENSE-GPL LICENSE-UNIVERSITIES define HOST_SWIG_INSTALL_SYMLINK ln -fs swig $(HOST_DIR)/bin/swig$(SWIG_VERSION_MAJOR) + ln -fs swig $(HOST_DIR)/bin/swig3.0 endef HOST_SWIG_POST_INSTALL_HOOKS += HOST_SWIG_INSTALL_SYMLINK
Signature · 1 line
2.17.0
PATCH 1/1 package/swig: create a symlink for swig3.0
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"yegorslists" == yegorslists <[email protected]> writes:
From: Yegor Yefremov <[email protected]>
For now swig package creates a symlink to the latest swig version i.e. swig4.0. If the host already has both CMake 3.10 and earlier swig version then the earlier version (swig2.0 or swig3.0) will be detected. This happens because CMake 3.10 doesn't know about swig4.0 and thus searches for swig3.0 first and finds it on the host.
Quoted 3 lines
With the new symlink CMake will find buildroot's swig binary.
Signed-off-by Yegor Yefremov <[email protected]>
Reworded / extended the commit message a bit and committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 package/swig: create a symlink for swig3.0
In reply to yegorslists at googlemail.comQuoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"yegorslists" == yegorslists <[email protected]> writes:
From: Yegor Yefremov <[email protected]>
For now swig package creates a symlink to the latest swig version i.e. swig4.0. If the host already has both CMake 3.10 and earlier swig version then the earlier version (swig2.0 or swig3.0) will be detected. This happens because CMake 3.10 doesn't know about swig4.0 and thus searches for swig3.0 first and finds it on the host.
Quoted 3 lines
With the new symlink CMake will find buildroot's swig binary.
Signed-off-by Yegor Yefremov <[email protected]>
Committed to 2019.11.x (2019.02.x uses swig 3.0.12), thanks.
Signature · 1 line
Bye, Peter Korsgaard