X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=mk-1st.awk;h=8e924331eca18843b31122b1fb71d3a3157fcf76;hp=da40cc64cefc2803b5db60f0443f580732d6cc92;hb=58552e8c761a70f8f0bd591fecdf576fa8216e3e;hpb=b802d89ac4a8abdc19fd39ec9bdc9a300c3dd181 diff --git a/mk-1st.awk b/mk-1st.awk index da40cc64..8e924331 100644 --- a/mk-1st.awk +++ b/mk-1st.awk @@ -1,6 +1,6 @@ -# $Id: mk-1st.awk,v 1.96 2013/09/07 17:54:05 Alexey.Pavlov Exp $ +# $Id: mk-1st.awk,v 1.99 2016/12/31 17:04:34 tom Exp $ ############################################################################## -# Copyright (c) 1998-2012,2013 Free Software Foundation, Inc. # +# Copyright (c) 1998-2014,2016 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # # copy of this software and associated documentation files (the "Software"), # @@ -220,7 +220,7 @@ function shlib_build(directory) { printf "\t\t%s/%s \\\n", directory, termlib_end_of(); suffix = save_suffix } - printf "\t\t$(%s_OBJS)\n", OBJS + printf "\t\t$(RESULTING_SYMS) $(%s_OBJS)\n", OBJS printf "\t@echo linking $@\n" if ( is_ticlib() ) { make_shlib(OBJS, "TICS_LIST") @@ -448,7 +448,7 @@ END { } printf "\tcd ../lib && $(LIBTOOL_LINK) $(%s) $(%s) \\\n", CC_NAME, CC_FLAG; printf "\t\t-o %s $(%s_OBJS:$o=.lo) \\\n", lib_name, OBJS; - printf "\t\t-rpath $(DESTDIR)$(libdir) \\\n"; + printf "\t\t-rpath $(libdir) \\\n"; printf "\t\t%s $(NCURSES_MAJOR):$(NCURSES_MINOR) $(LT_UNDEF) $(%s) $(LDFLAGS)\n", libtool_version, which_list; print "" print "install \\"