diff options
author | Memphiz <memphis@machzwo.de> | 2011-06-11 17:59:16 +0200 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2011-06-11 17:59:16 +0200 |
commit | 24fec66d18882a48ecb42ed325e0a39a5a343c7d (patch) | |
tree | 7281c7b4de37df3c7ba2d51b5a1d3bbb4579c480 | |
parent | 1d71b925f789ced69de326365a10a8ed532c8969 (diff) |
[libnfs] - cleanup softlinks
-rw-r--r-- | lib/libnfs/Makefile | 2 | ||||
-rw-r--r-- | tools/darwin/depends/libnfs/Makefile | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libnfs/Makefile b/lib/libnfs/Makefile index ed992ca743..711f7e2f31 100644 --- a/lib/libnfs/Makefile +++ b/lib/libnfs/Makefile @@ -41,6 +41,8 @@ $(SO_NAME): $(SOURCE) install: make -C $(SOURCE) install + rm -f $(prefix)/lib/libnfs.so + rm -f $(prefix)/lib/libnfs.so.1 ln -s $(prefix)/lib/libnfs.so.1.0.0 $(prefix)/lib/libnfs.so ln -s $(prefix)/lib/libnfs.so.1.0.0 $(prefix)/lib/libnfs.so.1 clean: diff --git a/tools/darwin/depends/libnfs/Makefile b/tools/darwin/depends/libnfs/Makefile index 08392d3053..019bd01e85 100644 --- a/tools/darwin/depends/libnfs/Makefile +++ b/tools/darwin/depends/libnfs/Makefile @@ -38,9 +38,9 @@ $(LIBDYLIB): $(SOURCE) .installed: make -C $(SOURCE) install - touch $@ + rm -f $(PREFIX)/lib/libnfs.dylib ln -s $(PREFIX)/lib/$(DYLIBNAME) $(PREFIX)/lib/libnfs.dylib - + touch $@ clean: make -C $(SOURCE) clean rm -r .installed |