Use the same dll prefix for modules as for apr itself
@@ -479,14 +479,14 @@ IF(APU_HAVE_CRYPTO)
ENDIF()
IF(APU_HAVE_ODBC)
- ADD_LIBRARY(apr_dbd_odbc-2 SHARED dbd/apr_dbd_odbc.c libapr.rc)
- SET(install_targets ${install_targets} apr_dbd_odbc-2)
- SET(install_bin_pdb ${install_bin_pdb} ${PROJECT_BINARY_DIR}/apr_dbd_odbc-2.pdb)
+ ADD_LIBRARY(libapr_dbd_odbc-2 SHARED dbd/apr_dbd_odbc.c libapr.rc)
+ SET(install_targets ${install_targets} libapr_dbd_odbc-2)
+ SET(install_bin_pdb ${install_bin_pdb} ${PROJECT_BINARY_DIR}/libapr_dbd_odbc-2.pdb)
SET(dbd_drivers ${dbd_drivers} odbc)
- TARGET_LINK_LIBRARIES(apr_dbd_odbc-2 libapr-2 ${APR_SYSTEM_LIBS} odbc32 odbccp32)
- SET_PROPERTY(TARGET apr_dbd_odbc-2 APPEND PROPERTY LINK_FLAGS /export:apr_dbd_odbc_driver)
- SET_TARGET_PROPERTIES(apr_dbd_odbc-2 PROPERTIES COMPILE_DEFINITIONS "APU_HAVE_ODBC;HAVE_SQL_H;APU_DSO_MODULE_BUILD")
- SET_TARGET_PROPERTIES(apr_dbd_odbc-2 PROPERTIES COMPILE_FLAGS "-DDLL_NAME=apr_dbd_odbc")
+ TARGET_LINK_LIBRARIES(libapr_dbd_odbc-2 libapr-2 ${APR_SYSTEM_LIBS} odbc32 odbccp32)
+ SET_PROPERTY(TARGET libapr_dbd_odbc-2 APPEND PROPERTY LINK_FLAGS /export:apr_dbd_odbc_driver)
+ SET_TARGET_PROPERTIES(libapr_dbd_odbc-2 PROPERTIES COMPILE_DEFINITIONS "APU_HAVE_ODBC;HAVE_SQL_H;APU_DSO_MODULE_BUILD")
+ SET_TARGET_PROPERTIES(libapr_dbd_odbc-2 PROPERTIES COMPILE_FLAGS "-DDLL_NAME=libapr_dbd_odbc-2")
ENDIF()
IF(APR_BUILD_TESTAPR)
