aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Makefile.bsd-lib
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-05-17 19:21:42 -0400
committerTheodore Ts'o <tytso@mit.edu>2010-05-17 19:21:42 -0400
commit5aa6c3f61c0559f03b68bdeef886f34ece106757 (patch)
tree2f1bb396fad8c89a087702aab1de42dff4876a0d /lib/Makefile.bsd-lib
parent822c10e84e5f57394bcad921adc560f5b032c03e (diff)
downloadandroid_external_e2fsprogs-5aa6c3f61c0559f03b68bdeef886f34ece106757.tar.gz
android_external_e2fsprogs-5aa6c3f61c0559f03b68bdeef886f34ece106757.tar.bz2
android_external_e2fsprogs-5aa6c3f61c0559f03b68bdeef886f34ece106757.zip
Add configure options --enable-symlink-build and --enable-symlink-install
These options allow e2fsprogs to be built using symlinks instead of hard links, and to be installed using symlinks instead of hard links, respectively. Addresses-Sourceforge-Bug: #1436294 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'lib/Makefile.bsd-lib')
-rw-r--r--lib/Makefile.bsd-lib3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Makefile.bsd-lib b/lib/Makefile.bsd-lib
index ec7cae44..51e9dc77 100644
--- a/lib/Makefile.bsd-lib
+++ b/lib/Makefile.bsd-lib
@@ -25,7 +25,8 @@ $(BSD_LIB): $(OBJS)
(cd pic; ld -Bshareable -o $(BSD_LIB) $(OBJS))
$(MV) pic/$(BSD_LIB) .
$(RM) -f ../$(BSD_LIB)
- $(LN) $(BSD_LIB) ../$(BSD_LIB)
+ (cd ..; $(LN) $(LINK_BUILD_FLAGS) \
+ `echo $(my_dir) | sed -e 's;lib/;;'`/$(BSD_LIB) $(BSD_LIB))
install-shlibs install:: $(BSD_LIB)
@echo " INSTALL_PROGRAM $(BSDLIB_INSTALL_DIR)/$(BSD_LIB)"