*fix* do not set LDFLAGS to --as-needed because this changes building behaviour which the user is not aware of

*fix* link librt only if it is found (issue 261)



git-svn-id: http://tint2.googlecode.com/svn/trunk@482 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
Andreas.Fink85
2010-06-12 07:45:16 +00:00
parent 5521275bef
commit 99491c8f72
2 changed files with 7 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ target_link_libraries( tint2conf ${X11_LIBRARIES}
${GTK2_LIBRARIES} )
set_target_properties(tint2conf PROPERTIES COMPILE_FLAGS -Wall)
set_target_properties(tint2conf PROPERTIES LINK_FLAGS -Wl,--as-needed)
#set_target_properties(tint2conf PROPERTIES LINK_FLAGS -Wl,--as-needed)
install( TARGETS tint2conf DESTINATION bin )
install( PROGRAMS tintwizard.py DESTINATION bin )