aboutsummaryrefslogtreecommitdiff
path: root/src/config/lib.in
diff options
context:
space:
mode:
authorMichael Osipov <1983-01-06@gmx.net>2014-08-14 15:48:11 +0200
committerGreg Hudson <ghudson@mit.edu>2014-08-14 11:36:34 -0400
commitfdd1c69471bbe5fec0da9f9bcaa9d0a7739db77f (patch)
tree241e6dcd8fe9309fbc0cb67cb13803529d8de9d1 /src/config/lib.in
parent7208dace8bfbdf5b930e26a19c8ff31c13ea1ef3 (diff)
downloadkrb5-fdd1c69471bbe5fec0da9f9bcaa9d0a7739db77f.zip
krb5-fdd1c69471bbe5fec0da9f9bcaa9d0a7739db77f.tar.gz
krb5-fdd1c69471bbe5fec0da9f9bcaa9d0a7739db77f.tar.bz2
Fix HP-UX build support
Rename hpux10.exports to hpux.exports. In the HP-UX section of shlib.conf, remove '+s' because it just specifies a default, add a MAKE_SHLIB_COMMAND, and set SHLIBEXT based on the host CPU. [ghudson@mit.edu: squashed commits, condensed commit message] ticket: 7990 (new) target_version: 1.13 tags: pullup
Diffstat (limited to 'src/config/lib.in')
-rw-r--r--src/config/lib.in18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/config/lib.in b/src/config/lib.in
index 8dd5475..c041571 100644
--- a/src/config/lib.in
+++ b/src/config/lib.in
@@ -72,20 +72,20 @@ osf1.exports: $(SHLIB_EXPORT_FILE) Makefile
done; echo " $$a" >> osf1.tmp
mv -f osf1.tmp osf1.exports
-hpux10.exports: $(SHLIB_EXPORT_FILE) Makefile
- $(RM) hpux10.tmp hpux10.exports
- sed "s/^/+e /" < $(SHLIB_EXPORT_FILE) > hpux10.tmp
+hpux.exports: $(SHLIB_EXPORT_FILE) Makefile
+ $(RM) hpux.tmp hpux.exports
+ sed "s/^/+e /" < $(SHLIB_EXPORT_FILE) > hpux.tmp
a=""; \
for f in . $(LIBFINIFUNC); do \
if test "$$f" != .; then \
a="+I $${f}__auxfini $$a"; \
else :; fi; \
- done; echo "$$a" >> hpux10.tmp
- echo "+e errno" >> hpux10.tmp
+ done; echo "$$a" >> hpux.tmp
+ echo "+e errno" >> hpux.tmp
base=`echo "$(LIBBASE)" | sed -e 's/-/_/'`; \
- echo "+e _GLOBAL__FD_lib$${base}_$(LIBMAJOR)_$(LIBMINOR)" >> hpux10.tmp; \
- echo "+e _GLOBAL__FI_lib$${base}_$(LIBMAJOR)_$(LIBMINOR)" >> hpux10.tmp
- mv -f hpux10.tmp hpux10.exports
+ echo "+e _GLOBAL__FD_lib$${base}_$(LIBMAJOR)_$(LIBMINOR)" >> hpux.tmp; \
+ echo "+e _GLOBAL__FI_lib$${base}_$(LIBMAJOR)_$(LIBMINOR)" >> hpux.tmp
+ mv -f hpux.tmp hpux.exports
lib$(LIBBASE)$(PFLIBEXT): $(PFOBJLISTS)
$(RM) $@
@@ -120,7 +120,7 @@ clean-libs:
$(RM) lib$(LIBBASE)$(SHLIBSEXT)
$(RM) lib$(LIBBASE)$(SHLIBEXT)
$(RM) lib$(LIBBASE)$(PFLIBEXT)
- $(RM) binutils.versions osf1.exports darwin.exports hpux10.exports
+ $(RM) binutils.versions osf1.exports darwin.exports hpux.exports
clean-liblinks:
$(RM) $(TOPLIBD)/lib$(LIBBASE)$(STLIBEXT)