Skip to content

Commit

Permalink
c++ because gcc is not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd committed Aug 28, 2023
1 parent b58d7de commit 55b2fe3
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
gcc -shared -Wall -fPIC -DLNAME="${STUB_LIB}" -DFNAME="${LIB_NAME}" stubs.c \@compilerinput.txt -o "${STUB_LIB}"
c++ -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 55b2fe3

Please sign in to comment.