Commit 0dce2ce1 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Try to add LDFLAGS to gdal to allow packaging

parent 8e0506a2
......@@ -52,6 +52,7 @@ if(UNIX)
#we don't do any framework build on osx. So let's be sure on case of gdal
if(APPLE)
list(APPEND GDAL_SB_CONFIG "--with-macosx-framework=no")
list(APPEND GDAL_SB_CONFIG "LDFLAGS=-headerpad")
endif()
# PATCH_COMMAND ${CMAKE_COMMAND} -E touch ${GDAL_SB_SRC}/config.rpath
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment