Changeset c3ef13597496b9dcbbfa53c68064a087e66ae4f6

Show
Ignore:
Timestamp:
02/09/08 17:18:44 (7 months ago)
Author:
Pavlov Konstantin <thresh@videolan.org>
git-committer:
Pavlov Konstantin <thresh@videolan.org> 1202573924 +0000
git-parent:

[35c461035b74a5499f69842e8053554e41a17d55]

git-author:
Pavlov Konstantin <thresh@videolan.org> 1202573924 +0000
Message:

Fix linkage in --as-needed mode.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt

    r0e2eb38 rc3ef135  
    261261endif(NOT APPLE) 
    262262 
    263 set_target_properties(libvlc libvlc-control PROPERTIES LINK_FLAGS "${LINK_FLAGS} ${CMAKE_THREAD_LIBS_INIT}") 
     263set_target_properties(libvlc libvlc-control PROPERTIES LDFLAGS "${LINK_FLAGS} ${CMAKE_THREAD_LIBS_INIT}") 
    264264set_target_properties(libvlc libvlc-control vlc PROPERTIES COMPILE_FLAGS 
    265265    "-Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -I${CMAKE_BINARY_DIR}/src -I${CMAKE_BINARY_DIR}/include" )