diff options
author | Jim Meyering <meyering@redhat.com> | 2009-03-05 18:49:55 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-03-05 18:49:55 +0100 |
commit | bcc72af3370b9511351b451e3c96c8375346ff7c (patch) | |
tree | 808b24ffb50be662973e9dced2feefe964b32711 /partprobe | |
parent | 855941570a4f0f173822e98d8437943c43643b5a (diff) | |
download | parted-bcc72af3370b9511351b451e3c96c8375346ff7c.tar.gz |
portability: use last_component, not basename
* libparted/arch/linux.c (read_device_sysfs_file): Use last_component
from gnulib's basename module, not the less-portable "basename" function.
(_device_get_partition_range): Likewise.
Reported by Karel Zak.
* debug/clearfat/Makefile.am (clearfat_LDADD): Link gnulib *after*
libparted, not before.
* partprobe/Makefile.am (partprobe_LDADD): Likewise.
* parted/Makefile.am (parted_LDADD): Likewise.
Diffstat (limited to 'partprobe')
-rw-r--r-- | partprobe/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/partprobe/Makefile.am b/partprobe/Makefile.am index cbb955f..ec6371c 100644 --- a/partprobe/Makefile.am +++ b/partprobe/Makefile.am @@ -5,8 +5,8 @@ sbin_PROGRAMS = partprobe partprobe_SOURCES = partprobe.c partprobe_LDADD = \ - $(top_builddir)/lib/libparted.la \ $(top_builddir)/libparted/libparted.la \ + $(top_builddir)/lib/libparted.la \ $(INTLLIBS) $(LIBS) \ $(PARTED_LIBS) |