From: Felix Fietkau Date: Mon, 7 Feb 2011 17:54:27 +0000 (+0100) Subject: suppress -rdynamic when linking ubus X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=commitdiff_plain;h=17cdc0f4f6b79629309d43af40867b39744844c4 suppress -rdynamic when linking ubus --- diff --git a/CMakeLists.txt b/CMakeLists.txt index b791c7c..2bf3853 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 2.8) PROJECT(ubus C) ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3) +SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") + IF(APPLE) INCLUDE_DIRECTORIES(/opt/local/include) LINK_DIRECTORIES(/opt/local/lib)