summaryrefslogtreecommitdiff
path: root/support/shobj-conf
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-11-23 19:10:13 -0500
committerChet Ramey <chet.ramey@case.edu>2011-11-23 19:10:13 -0500
commit1e4e5d08e95b810dc5bcec9a3b9b296a0c3afa85 (patch)
tree3972ebdded0214475d2a402a1cd836da41f7bf2b /support/shobj-conf
parentabde3125f6228a63e22de708b9edaef62cab0ac3 (diff)
downloadreadline-1e4e5d08e95b810dc5bcec9a3b9b296a0c3afa85.tar.gz
Readline-4.3 import
Diffstat (limited to 'support/shobj-conf')
-rwxr-xr-xsupport/shobj-conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/support/shobj-conf b/support/shobj-conf
index a7c5810..6bd7fb1 100755
--- a/support/shobj-conf
+++ b/support/shobj-conf
@@ -10,6 +10,22 @@
# Chet Ramey
# chet@po.cwru.edu
+# Copyright (C) 1996-2002 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
+
#
# defaults
#
@@ -62,7 +78,10 @@ sunos4*)
sunos5*-*gcc*|solaris2*-*gcc*)
SHOBJ_CFLAGS=-fpic
SHOBJ_LD='${CC}'
+ # This line works for the Solaris linker in /usr/ccs/bin/ld
SHOBJ_LDFLAGS='-shared -Wl,-i -Wl,-h,$@'
+ # This line works for the GNU ld
+# SHOBJ_LDFLAGS='-shared -Wl,-h,$@'
# SHLIB_XLDFLAGS='-R $(libdir)'
SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)'