Skip to content

Commit

Permalink
Add soname on FreeBSD (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti authored and neteler committed Jan 28, 2020
1 parent c5eeed6 commit 8299d38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
SHLIB_CFLAGS="-fPIC"
#SHLIB_LD="ld -Bshareable -x"
SHLIB_LD="${CC} -shared"
SHLIB_LD_FLAGS="-Wl,-soname,\$(notdir \$[@])"
SHLIB_SUFFIX=".so"
LDFLAGS="-export-dynamic"
#LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
Expand Down
1 change: 1 addition & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -1589,6 +1589,7 @@ EOF
# FreeBSD 3.* and greater have ELF.
SHLIB_CFLAGS="-fPIC"
#SHLIB_LD="ld -Bshareable -x"
SHLIB_LD_FLAGS="-Wl,-soname,\$(notdir \$@)"
SHLIB_LD="${CC} -shared"
SHLIB_SUFFIX=".so"
LDFLAGS="-export-dynamic"
Expand Down

0 comments on commit 8299d38

Please sign in to comment.