From e60635d1031f59f56405fd8730867c98d8812857 Mon Sep 17 00:00:00 2001 From: HendrikvS <35104692+HvSchoening@users.noreply.github.com> Date: Wed, 28 Oct 2020 19:49:02 +0100 Subject: [PATCH] change libpbs include to shared lib I was not able to build _pbs.so on opensuse without that change. --- swig_compile_pbs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swig_compile_pbs.sh b/swig_compile_pbs.sh index 184c797..71a23b2 100755 --- a/swig_compile_pbs.sh +++ b/swig_compile_pbs.sh @@ -37,7 +37,7 @@ if [ $? -ne 0 ]; then fi # Running gcc creates _pbs.so -gcc -shared -fPIC -I$PYTHON_INCL -I$PBS_EXEC/include pbs_wrap.c $PBS_EXEC/lib/libpbs.a \ +gcc -shared -fPIC -I$PYTHON_INCL -I$PBS_EXEC/include pbs_wrap.c $PBS_EXEC/lib/libpbs.so \ -o _pbs.so -L/lib -lcrypto -lssl # It does not need to be executable.