share undefined

zJanly發表於2024-08-03

opt=-Wl,--no-undefined

-Wl,-unresolved-symbols=ignore-in-shared-libs


gcc $opt -shared -o libfa.so -g -O2 1.c -L. -la

相關文章