Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Commit

Permalink
Correct Ubuntu compile flag for basholeveldb
Browse files Browse the repository at this point in the history
  • Loading branch information
DocSavage committed Feb 20, 2014
1 parent 30057aa commit 31e3832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basholeveldb.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ elseif (${UNIX})
# Ubuntu
if (LINUX_ISSUE MATCHES "Ubuntu")
message ("Detected Ubuntu system. Using -lrt linker flag.")
set (CMAKE_SHARED_LINKER_FLAGS "--no-as-needed;-lrt")
set (CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-as-needed;-lrt")
endif ()
endif ()
endif ()
Expand Down

0 comments on commit 31e3832

Please sign in to comment.