suppress -rdynamic when linking ubus

This commit is contained in:
Felix Fietkau 2011-02-07 18:54:27 +01:00
parent 66b6fdeace
commit 17cdc0f4f6

View file

@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 2.8)
PROJECT(ubus C) PROJECT(ubus C)
ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3) ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3)
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
IF(APPLE) IF(APPLE)
INCLUDE_DIRECTORIES(/opt/local/include) INCLUDE_DIRECTORIES(/opt/local/include)
LINK_DIRECTORIES(/opt/local/lib) LINK_DIRECTORIES(/opt/local/lib)