]> git.saurik.com Git - apple/ld64.git/blobdiff - src/create_configure
ld64-302.3.tar.gz
[apple/ld64.git] / src / create_configure
index 3643079339cdac543b9d4f0ce18d42123f4e2a4c..a740779f57c69e8a36fd9da64d6613912dc4550e 100755 (executable)
@@ -46,3 +46,9 @@ else
 fi
 
 echo "#define BITCODE_XAR_VERSION \"1.0\"" >> ${DERIVED_FILE_DIR}/configure.h
+
+if [ -n "${RC_ProjectSourceVersion}" ]; then
+       echo "#define LD64_VERSION_NUM ${RC_ProjectSourceVersion}" >> ${DERIVED_FILE_DIR}/configure.h
+else
+       echo "#define LD64_VERSION_NUM 0" >> ${DERIVED_FILE_DIR}/configure.h
+fi