Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
CONC-302:
Fix output of mariadb_config (if gssapi plugin was configured statically).
  • Loading branch information
9EOR9 committed Jan 8, 2018
1 parent 9345d74 commit 5abcb1b
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions mariadb_config/CMakeLists.txt
Expand Up @@ -13,9 +13,16 @@ FUNCTION(GET_LIB_NAME LIB_NAME LIB_OUT)
ELSE()
SET(LIB_FILE ${LIB_NAME})
ENDIF()
SET(LIB_FILE "-l${LIB_FILE}")
STRING(REPLACE "-llib" "-l" LIB_FILE ${LIB_FILE})
SET(${LIB_OUT} ${LIB_FILE} PARENT_SCOPE)

STRING(SUBSTRING ${LIB_NAME} 0 1 LIB_PREFIX)

IF(NOT ${LIB_PREFIX} STREQUAL "-")
SET(LIB_FILE "-l${LIB_FILE}")
STRING(REPLACE "-llib" "-l" LIB_FILE ${LIB_FILE})
SET(${LIB_OUT} ${LIB_FILE} PARENT_SCOPE)
ELSE()
SET(${LIB_OUT} ${LIB_NAME} PARENT_SCOPE)
ENDIF()
ENDFUNCTION()

LIST(LENGTH SYSTEM_LIBS rllength)
Expand Down

4 comments on commit 5abcb1b

@sscherfke
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an ETA for a new official release containing this fix?

@9EOR9
Copy link
Collaborator Author

@9EOR9 9EOR9 commented on 5abcb1b Jan 10, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Stefan,

C/C 3.0.3 will be released within next 1-2 weeks.

@9EOR9
Copy link
Collaborator Author

@9EOR9 9EOR9 commented on 5abcb1b Jan 10, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just checked buildbot: all builders show "green". However we are waiting for 2 customer feedbacks (we provided fixes just before Christmas, but due to holiday season we are still waiting for ok).

@sscherfke
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, thanks for the info. :-)

Please sign in to comment.