summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-09-26 08:07:11 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-09-26 08:07:11 +0000
commit9d36ab8993de4cb950f05d038ae645fc8963d5c9 (patch)
tree5799fec4e117e4b92bebbd27745c12e054987f55
parentb4eef7170448265b5391db5f953073d58cdbfa74 (diff)
Correct targets install_dev and install_runtime to depend on shared
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fdb00fb66..46af77a59 100644
--- a/Makefile
+++ b/Makefile
@@ -155,7 +155,7 @@ install: install_runtime install_dev finished2
RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB=$(shell extra/scripts/relative_path.sh $(DEVEL_PREFIX)lib $(RUNTIME_PREFIX)lib)
# Installs header files and development library links.
-install_dev:
+install_dev: shared
$(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)lib
$(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include
-$(INSTALL) -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)lib/
@@ -263,7 +263,7 @@ endif
# Installs run-time libraries
-install_runtime:
+install_runtime: shared
ifeq ($(strip $(HAVE_SHARED)),y)
$(INSTALL) -d $(PREFIX)$(RUNTIME_PREFIX)lib
$(INSTALL) -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \