Skip to content

Commit

Permalink
drop the --as-needed linker flag
Browse files Browse the repository at this point in the history
First point is that it produces linker errors because the libs are not linked
in the proper order. Secondly it is not worth fixing this because all functions
are referenced in some way in a reference table.
  • Loading branch information
d1saster committed Dec 8, 2011
1 parent 5f7d320 commit 509fb56
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CMake/HPHPFindLibs.cmake
Expand Up @@ -402,6 +402,4 @@ endif()
target_link_libraries(${target} ${PAM_LIBRARY})
endif()

set_target_properties(${target} PROPERTIES LINK_FLAGS "-Wl,--as-needed")

endmacro()

0 comments on commit 509fb56

Please sign in to comment.