packaging: do not hardcode swig executable
@@ -45,8 +45,7 @@ CMAKE_ARGS_BASE="-DTARGET_PLUGIN_FOLDER='elektra5' \
if case $DIST_NAME in "Fedora"*) true ;; "openSUSE"*) true ;; "CentOS"*) true ;; *) false ;; esac then
CMAKE_ARGS_SPECIFIC="-DTARGET_LUA_CMOD_FOLDER=lib$LUA_LIB_SUFFIX/lua/$LUA_VERSION \
- -DTARGET_LUA_LMOD_FOLDER=share/lua/$LUA_VERSION \
- -DSWIG_EXECUTABLE=/usr/bin/swig"
+ -DTARGET_LUA_LMOD_FOLDER=share/lua/$LUA_VERSION"
else
PY3VER=$(py3versions -d -v)
@@ -58,7 +57,6 @@ else
CMAKE_ARGS_SPECIFIC="-DTARGET_LUA_CMOD_FOLDER=lib/lua/$LUA_VERSION \
-DTARGET_LUA_LMOD_FOLDER=share/lua/$LUA_VERSION \
- -DSWIG_EXECUTABLE=/usr/bin/swig3.0 \
-DCMAKE_C_FLAGS=$CFLAGS \
-DCMAKE_CXX_FLAGS=$CXXFLAGS \
-DCMAKE_EXE_LINKER_FLAGS=$LDFLAGS \
