Skip to content

Commit

Permalink
Compile with gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd authored Aug 28, 2023
1 parent e8a5edd commit 895dba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion so-stub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ while IFS= read -r line; do
done < symbols.txt > compilerinput.txt

# Compile and strip
c++ -shared -Wall -fPIC -DLNAME="${STUB_LIB}" -DFNAME="${LIB_NAME}" stubs.c \@compilerinput.txt -o "${STUB_LIB}"
gcc -shared -Wall -fPIC -DLNAME="${STUB_LIB}" -DFNAME="${LIB_NAME}" stubs.c \@compilerinput.txt -o "${STUB_LIB}"
strip "${STUB_LIB}"
ls -lh $(readlink -f "${ORIG_LIB}")
ls -lh "${STUB_LIB}"

0 comments on commit 895dba3

Please sign in to comment.