mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
12 lines
401 B
Diff
12 lines
401 B
Diff
--- a/unix/tcl.m4
|
|
+++ b/unix/tcl.m4
|
|
@@ -1402,7 +1402,7 @@
|
|
# get rid of the warnings.
|
|
#CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
|
|
|
|
- SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared'
|
|
+ SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared -fPIC -Wl,-soname,${@}'
|
|
DL_OBJS="tclLoadDl.o"
|
|
DL_LIBS="-ldl"
|
|
LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
|