Skip to content

Commit 05c8030

Browse files
authored
swig: update symlink alias to appease cmake (spack#43271)
1 parent bbcd422 commit 05c8030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

var/spack/repos/builtin/packages/swig/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class AutotoolsBuilder(spack.build_systems.autotools.AutotoolsBuilder):
148148
def create_symlink(self):
149149
# CMake compatibility: see https://github.com/spack/spack/pull/6240
150150
with working_dir(self.prefix.bin):
151-
os.symlink("swig", "swig{0}".format(self.spec.version.up_to(2)))
151+
os.symlink("swig", "swig{0}.0".format(self.spec.version.up_to(1)))
152152

153153
@when(Swig.AUTOCONF_VERSIONS)
154154
def autoreconf(self, pkg, spec, prefix):

0 commit comments

Comments
 (0)