summaryrefslogtreecommitdiff
path: root/libapr.rc
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2013-09-14 17:04:54 +0000
committerJeff Trawick <trawick@apache.org>2013-09-14 17:04:54 +0000
commitafca72a75e8ff79f84a9b2012a3116676cff6681 (patch)
tree39ee325bf49c9e8c27171e5307330aa43b4960f2 /libapr.rc
parent8e1f062fae6d8dcb06086dfebbdef8bf7f614a66 (diff)
downloadapr-afca72a75e8ff79f84a9b2012a3116676cff6681.tar.gz
Bring in APR-util's DLL_NAME feature, used to provide a specific name
for DSO modules as the Window's File Description. This was lost with the merge of APR-util into APR. Set DLL_NAME in the cmake-based build. (The Visual Studio build already sets it.) The APR-util 1.5.x cmake list already sets it. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1523277 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'libapr.rc')
-rw-r--r--libapr.rc8
1 files changed, 7 insertions, 1 deletions
diff --git a/libapr.rc b/libapr.rc
index 604fc7c06..d4e828b71 100644
--- a/libapr.rc
+++ b/libapr.rc
@@ -14,7 +14,13 @@
"See the License for the specific language governing permissions and " \
"limitations under the License."
+#ifdef DLL_NAME
+#define APR_DLL_BASENAME APR_STRINGIFY(DLL_NAME) "-" APR_STRINGIFY(APR_MAJOR_VERSION)
+#define APR_DLL_DESCRIPTION "Apache Portable Runtime " APR_STRINGIFY(DLL_NAME) " Module"
+#else
#define APR_DLL_BASENAME "libapr-" APR_STRINGIFY(APR_MAJOR_VERSION)
+#define APR_DLL_DESCRIPTION "Apache Portable Runtime Library"
+#endif
1 VERSIONINFO
@@ -48,7 +54,7 @@ BEGIN
BEGIN
VALUE "Comments", APR_LICENSE "\0"
VALUE "CompanyName", "Apache Software Foundation\0"
- VALUE "FileDescription", "Apache Portable Runtime Library\0"
+ VALUE "FileDescription", APR_DLL_DESCRIPTION "\0"
VALUE "FileVersion", APR_VERSION_STRING "\0"
VALUE "InternalName", APR_DLL_BASENAME "\0"
VALUE "LegalCopyright", APR_COPYRIGHT "\0"