~ chicken-core (chicken-5) 1832d05e5e8a66c6ac56acc561b383e386dfc916
commit 1832d05e5e8a66c6ac56acc561b383e386dfc916 Author: Peter Bex <Peter.Bex@xs4all.nl> AuthorDate: Sun Sep 5 16:36:26 2010 +0200 Commit: Peter Bex <Peter.Bex@xs4all.nl> CommitDate: Sun Sep 5 16:36:26 2010 +0200 Fix syntax problem in install-import-lib diff --git a/rules.make b/rules.make index 431c2ae3..60340bda 100644 --- a/rules.make +++ b/rules.make @@ -320,14 +320,17 @@ install-bin: # $(MAKE_WRITABLE_COMMAND) $(CHICKEN_STATUS_PROGRAM)$(EXE) # endif else - define install-import-lib - ifdef STATICBUILD + ifdef STATICBUILD + define install-import-lib $(INSTALL_PROGRAM) $(INSTALL_PROGRAM_FILE_OPTIONS) $(1).import.scm "$(DESTDIR)$(IEGGDIR)" - else + + endef # Newline at the end is needed + else + define install-import-lib $(INSTALL_PROGRAM) $(INSTALL_PROGRAM_EXECUTABLE_OPTIONS) $(1).import.so "$(DESTDIR)$(IEGGDIR)" - endif - endef # Newline at the end is needed + endef # Newline at the end is needed + endif install-bin: $(TARGETS) install-libs install-dev $(MAKEDIR_COMMAND) $(MAKEDIR_COMMAND_OPTIONS) "$(DESTDIR)$(IBINDIR)"Trap