X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=mk-1st.awk;h=afa0c5ad5e988c706d54d5d4c2824233c1a242fc;hp=1b88127f88201fb63632b4012a8a428ca97839be;hb=86b16a498d6d545c03dceff7636d269eb7eb1e8f;hpb=b0b1980be11bba618d84beb8b30ac94e2c820602 diff --git a/mk-1st.awk b/mk-1st.awk index 1b88127f..afa0c5ad 100644 --- a/mk-1st.awk +++ b/mk-1st.awk @@ -1,6 +1,6 @@ -# $Id: mk-1st.awk,v 1.98 2014/12/20 23:54:22 tom Exp $ +# $Id: mk-1st.awk,v 1.100 2017/12/02 23:29:29 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"), # @@ -170,7 +170,7 @@ function removelinks(directory) { } } function make_shlib(objs, shlib_list) { - printf "\t$(MK_SHARED_LIB) $(%s_OBJS) $(%s) $(LDFLAGS)\n", objs, shlib_list + printf "\t$(MK_SHARED_LIB) $(%s_OBJS) $(%s)\n", objs, shlib_list } function sharedlinks(directory) { if ( ShlibVer != "auto" && ShlibVer != "cygdll" && ShlibVer != "msysdll" && ShlibVer != "mingw" ) { @@ -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 \\"