build python module without binreloc, add dummy argv[0] to initialize bprogname.

This commit is contained in:
Campbell Barton
2011-02-21 13:13:08 +00:00
parent ef60ae9521
commit 9ef0eed4b6
7 changed files with 30 additions and 15 deletions

View File

@@ -90,7 +90,7 @@ if(NOT WITH_SDL)
add_definitions(-DDISABLE_SDL)
endif()
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
if(WITH_BINRELOC)
add_definitions(-DWITH_BINRELOC)
blender_include_dirs(${BINRELOC_INC})
endif()
@@ -592,7 +592,7 @@ endif()
bf_intern_mikktspace
)
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
if(WITH_BINRELOC)
list(APPEND BLENDER_SORTED_LIBS extern_binreloc)
endif()