]> granicus.if.org Git - apache/commitdiff
Fix NetWare build: set NLM version with commandline option
authorGuenter Knauf <fuankg@apache.org>
Sun, 31 Aug 2014 13:16:11 +0000 (13:16 +0000)
committerGuenter Knauf <fuankg@apache.org>
Sun, 31 Aug 2014 13:16:11 +0000 (13:16 +0000)
instead of linker def file due to bug with mwldnlm linker
where patch version > 26 is ignored from def file.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1621588 13f79535-47bb-0310-9956-ffa450edef68

build/NWGNUtail.inc

index 7f13b94fe7d9227f944a4d9d8e98afb6e9eeffb5..718c62c08400236b67e585a9e99cba42e14e771e 100644 (file)
@@ -221,6 +221,7 @@ $(OBJDIR)/$(NLM_NAME)_link.opt : $($(NLM_NAME)_LINKOPT_DEPENDS)
        $(call DEL,$@)
        $(call DEL,$(@:.opt=.def))
        @echo $(DL)GEN  $@$(DL)
+       @echo $(DL)-nlmversion=$(NLM_VERSION)$(DL)>> $@
        @echo $(DL)-warnings off$(DL)>> $@
        @echo $(DL)-zerobss$(DL)>> $@
        @echo $(DL)-o $(TARGET_nlm)$(DL)>> $@
@@ -284,7 +285,7 @@ endif
        @echo $(DL)threadname "$(NLM_THREAD_NAME)"$(DL)>> $(@:.opt=.def)
        @echo $(DL)screenname "$(NLM_SCREEN_NAME)"$(DL)>> $(@:.opt=.def)
        @echo $(DL)stacksize $(subst K,000,$(subst k,K,$(strip $(NLM_STACK_SIZE))))$(DL)>> $(@:.opt=.def)
-       @echo $(DL)version $(NLM_VERSION) $(DL)>> $(@:.opt=.def)
+#      @echo $(DL)version $(NLM_VERSION) $(DL)>> $(@:.opt=.def)
        @echo $(DL)start $(NLM_ENTRY_SYM)$(DL)>> $(@:.opt=.def)
        @echo $(DL)exit $(NLM_EXIT_SYM)$(DL)>> $(@:.opt=.def)
 ifneq "$(NLM_CHECK_SYM)" ""