Add -fPIC to cflags when compiling static libs
This commit is contained in:
parent
c646799145
commit
c5bf9997c5
2 changed files with 2 additions and 0 deletions
1
src/configure
vendored
1
src/configure
vendored
|
|
@ -9919,6 +9919,7 @@ LSP_FEATURES="(cons :wants-dlopen ${LSP_FEATURES})"
|
|||
else
|
||||
enable_soname=no
|
||||
LSP_LIBRARIES="${LIBPREFIX}ecl.${LIBEXT}"
|
||||
CFLAGS="${CFLAGS} -fPIC"
|
||||
ECL_LDRPATH=''
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -803,6 +803,7 @@ if test ${enable_shared} = "yes"; then
|
|||
else
|
||||
enable_soname=no
|
||||
LSP_LIBRARIES="${LIBPREFIX}ecl.${LIBEXT}"
|
||||
CFLAGS="${CFLAGS} -fPIC"
|
||||
ECL_LDRPATH=''
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue