diff --git a/App/tools/driver.makefile b/App/tools/driver.makefile index c393d7e..5ca8732 100644 --- a/App/tools/driver.makefile +++ b/App/tools/driver.makefile @@ -1042,8 +1042,9 @@ MUNCH=$(MUNCH_$(VXWORKS_MAJOR_VERSION)) $(MUNCH) < $< > $@ ${VERSIONFILE}: - echo "#include " >> $@ - echo "epicsShareExtern char _${PRJ}LibRelease[] = \"${LIBVERSION}\";" >> $@ + echo "#include " > $@ + echo "epicsShareExtern const char _${PRJ}LibRelease[];" >> $@ + echo "const char _${PRJ}LibRelease[] = \"${LIBVERSION}\";" >> $@ # EPICS R3.14+: # Create file to fill registry from dbd file.