use "cc -shared" to create shared libraries
This commit is contained in:
parent
c1e4b745bf
commit
502a12ddbd
@ -1,5 +1,14 @@
|
||||
--- configure.orig Mon Sep 4 22:16:58 2000
|
||||
+++ configure Mon Sep 4 22:18:04 2000
|
||||
--- configure.orig Sat Aug 19 22:20:18 2000
|
||||
+++ configure Sat Sep 16 08:32:23 2000
|
||||
@@ -1890,7 +1890,7 @@
|
||||
* )
|
||||
echo "Note: ELF compiler for host_os=$host_os may be wrong"
|
||||
ELF_CC="\$(CC)"
|
||||
- ELF_CFLAGS="\$(CFLAGS) -fPIC"
|
||||
+ ELF_CFLAGS="\$(CFLAGS) -fpic -DPIC"
|
||||
ELF_LINK="\$(CC) -shared"
|
||||
ELF_LINK_CMD="\$(ELF_LINK)"
|
||||
ELF_DEP_LIBS="\$(DL_LIB) -lm -lc"
|
||||
@@ -2240,7 +2240,8 @@
|
||||
slang_mminor_version=`echo $slang_version $slang_major_version $slang_minor_version |
|
||||
awk '{ print ($1 - $2*10000 - $3*100) }'`
|
||||
|
@ -1,18 +1,5 @@
|
||||
--- src/Makefile.in.orig Sat Aug 19 22:20:31 2000
|
||||
+++ src/Makefile.in Mon Sep 4 23:00:33 2000
|
||||
@@ -13,9 +13,9 @@
|
||||
#---------------------------------------------------------------------------
|
||||
# Compiler for producing a shared library (ELF)
|
||||
#---------------------------------------------------------------------------
|
||||
-ELF_CC = @ELF_CC@
|
||||
-ELF_CFLAGS = @ELF_CFLAGS@
|
||||
-ELF_LINK = @ELF_LINK@
|
||||
+ELF_CC = $(CC)
|
||||
+ELF_CFLAGS = $(CFLAGS) -fpic -DPIC
|
||||
+ELF_LINK = ld -Bshareable -Bforcearchive
|
||||
ELF_DEP_LIBS = @ELF_DEP_LIBS@
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
+++ src/Makefile.in Sat Sep 16 08:33:27 2000
|
||||
@@ -32,11 +32,13 @@
|
||||
#---------------------------------------------------------------------------
|
||||
# Directory where library is going to go when installed
|
||||
|
Loading…
Reference in New Issue
Block a user