bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] build: avoid non-srcdir build failure


From: Jim Meyering
Subject: [PATCH] build: avoid non-srcdir build failure
Date: Sat, 18 Feb 2012 15:51:56 +0100

I've just noticed that a non-srcdir build was failing.
I introduced that with the FAT/HFS FS-resize restoration.
Here's the fix:


>From 763c1cf287d2b264eb5c988e52ffd32ded594e42 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sat, 18 Feb 2012 15:40:49 +0100
Subject: [PATCH] build: avoid non-srcdir build failure

* libparted/fs/Makefile.am: s!fsresize.sym!$(srcdir)/fsresize.sym!
---
 libparted/fs/Makefile.am |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/libparted/fs/Makefile.am b/libparted/fs/Makefile.am
index e1f675e..8d48ea1 100644
--- a/libparted/fs/Makefile.am
+++ b/libparted/fs/Makefile.am
@@ -65,11 +65,12 @@ CURRENT = 0
 REVISION = 0
 AGE = 0

+sym_file = $(srcdir)/fsresize.sym
 libparted_fs_resize_la_LDFLAGS =               \
-  -Wl,--version-script=fsresize.sym            \
+  -Wl,--version-script=$(sym_file)             \
   -version-info $(CURRENT):$(REVISION):$(AGE)
 EXTRA_DIST += fsresize.sym
-libparted_fs_resize_la_DEPENDENCIES = fsresize.sym
+libparted_fs_resize_la_DEPENDENCIES = $(sym_file)

 libparted_fs_resize_la_SOURCES = \
   r/filesys.c                  \
--
1.7.9.1.245.gbbe07



reply via email to

[Prev in Thread] Current Thread [Next in Thread]