summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-03-12 19:13:49 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-03-12 19:13:49 +0100
commit93b4171a0ae5b44803120498825873ee2a8c4065 (patch)
treebbfdfaa14ea730b1e6f86f885bbe09a7077d3008 /Makefile.in
parent9f811c9a0d095f5e91404c7ce2a6c33def2b4a66 (diff)
buildsys: Fix O= PREFIX= case
make sure that something like: $ rm -rf /dev/shm/o/* /dev/shm/o/.conf* /dev/shm/DELME $ time (make defconfig O=/dev/shm/o 2>&1 >& /dev/null && make \ install_dev -j O=/dev/shm/o PREFIX=/dev/shm/DELME 2>&1 >& /dev/null) works Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 6ac107d42..dca13ffe2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -305,7 +305,7 @@ endif
install_dev: install_headers install_runtime | $(PREFIX)$(DEVEL_PREFIX)$(MULTILIB_DIR)
-$(INSTALL) -m 644 $(top_builddir)lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)$(MULTILIB_DIR)/
ifeq ($(HAVE_SHARED),y)
- for i in `find $(top_builddir)lib/ -type l -name 'lib[a-zA-Z]*.so' | \
+ for i in `cd $(top_builddir) && find lib/ -type l -name 'lib[a-zA-Z]*.so' | \
$(SED) -e 's/lib\///'` ; do \
$(LN) -sf $(RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB)$$i.$(MAJOR_VERSION) \
$(PREFIX)$(DEVEL_PREFIX)$(MULTILIB_DIR)/$$i; \
@@ -343,7 +343,7 @@ ifeq ($(DOPIC),y)
# # If we build shared libraries then the static libs are PIC...
# # Make _pic.a symlinks to make mklibs.py and similar tools happy.
if [ -d $(top_builddir)lib ] ; then \
- for i in `find $(top_builddir)lib/ -type f -name 'lib*.a' | $(SED) -e 's/lib\///'` ; do \
+ for i in `cd $(top_builddir) && find lib/ -type f -name 'lib*.a' | $(SED) -e 's/lib\///'` ; do \
$(LN) -sf $$i $(PREFIX)$(DEVEL_PREFIX)$(MULTILIB_DIR)/`echo $$i \
| $(SED) -e 's/\.a$$/_pic.a/'`; \
done ; \