e2fsprogs/lib/quota
Theodore Ts'o d5aa6a82b3 Put ELF_OTHER_LIBS in the right place for the linker
Commit a7c17431b9 attempted to fix a problem where the system
libraries might get used instead of local libraries for things like
-lcom_err.  It tried to accomplish this by moving $(ELF_OTHER_LIBS) to
before $(LDFLAGS).

Unfortunately, this was the wrong fix; $(ELF_OTHER_LIBS) *MUST* be
after the object files, or the linker might not pull in the necessary
library and not include it into the DT_NEEDED section of the shared
library.  The proper fix is to add a -L$(LIB) before $(LDFLAGS), and
then remove the -L option from all of the ELF_OTHER_LIBS definitions
in the library Makefiles.

Addresses-Sourceforge-Bug: #3554345

Cc: Olivier Blin <olivier.blin@softathome.com>
Reported-by:  Mike Frysinger <vapier@gentoo.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-08-06 12:30:49 -04:00
..
Makefile.in Put ELF_OTHER_LIBS in the right place for the linker 2012-08-06 12:30:49 -04:00
common.h libquota: cleanup libquota code 2011-11-14 10:55:54 -05:00
dqblk_v2.h libquota: remove unnecessary definitions 2012-06-04 12:51:55 -04:00
mkquota.c tune2fs/quota: always create hidden quota files 2012-07-15 21:12:04 -04:00
mkquota.h tune2fs/quota: always create hidden quota files 2012-07-15 21:12:04 -04:00
quota.pc.in Change pkg-config files so that both <et/com_err.h> and <com_err.h> work 2012-05-14 12:45:54 -04:00
quotaio.c libquota: fix quota_inode_truncate() 2012-07-15 21:12:04 -04:00
quotaio.h libquota: remove unnecessary definitions 2012-06-04 12:51:55 -04:00
quotaio_tree.c libquota: quota file read support 2011-11-14 10:58:28 -05:00
quotaio_tree.h libquota: remove unnecessary definitions 2012-06-04 12:51:55 -04:00
quotaio_v2.c libquota: remove unnecessary definitions 2012-06-04 12:51:55 -04:00
quotaio_v2.h libquota: remove unnecessary definitions 2012-06-04 12:51:55 -04:00