Loading pkgs/development/libraries/physfs/default.nix +4 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,10 @@ let inherit sha256; }; patches = [ ./dont-set-cmake-skip-rpath-${version}.patch ]; nativeBuildInputs = [ cmake doxygen ]; buildInputs = [ zlib ] Loading pkgs/development/libraries/physfs/dont-set-cmake-skip-rpath-2.1.1.patch 0 → 100644 +16 −0 Original line number Diff line number Diff line diff --git a/CMakeLists.txt b/CMakeLists.txt index b4ef61e..7b2f26c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,11 +29,6 @@ if(APPLE) set(PHYSFS_M_SRCS src/physfs_platform_apple.m) endif() -if(CMAKE_COMPILER_IS_GNUCC) - # Don't use -rpath. - set(CMAKE_SKIP_RPATH ON CACHE BOOL "Skip RPATH" FORCE) -endif() - if(CMAKE_C_COMPILER_ID STREQUAL "SunPro") add_definitions(-erroff=E_EMPTY_TRANSLATION_UNIT) add_definitions(-xldscope=hidden) pkgs/development/libraries/physfs/dont-set-cmake-skip-rpath-3.2.0.patch 0 → 100644 +13 −0 Original line number Diff line number Diff line diff --git a/CMakeLists.txt b/CMakeLists.txt index b3291cc..11e7ad1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,8 +32,6 @@ endif() if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang") add_compile_options(-Wall) - # Don't use -rpath. - set(CMAKE_SKIP_RPATH ON CACHE BOOL "Skip RPATH" FORCE) endif() if(CMAKE_C_COMPILER_ID STREQUAL "SunPro") Loading
pkgs/development/libraries/physfs/default.nix +4 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,10 @@ let inherit sha256; }; patches = [ ./dont-set-cmake-skip-rpath-${version}.patch ]; nativeBuildInputs = [ cmake doxygen ]; buildInputs = [ zlib ] Loading
pkgs/development/libraries/physfs/dont-set-cmake-skip-rpath-2.1.1.patch 0 → 100644 +16 −0 Original line number Diff line number Diff line diff --git a/CMakeLists.txt b/CMakeLists.txt index b4ef61e..7b2f26c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,11 +29,6 @@ if(APPLE) set(PHYSFS_M_SRCS src/physfs_platform_apple.m) endif() -if(CMAKE_COMPILER_IS_GNUCC) - # Don't use -rpath. - set(CMAKE_SKIP_RPATH ON CACHE BOOL "Skip RPATH" FORCE) -endif() - if(CMAKE_C_COMPILER_ID STREQUAL "SunPro") add_definitions(-erroff=E_EMPTY_TRANSLATION_UNIT) add_definitions(-xldscope=hidden)
pkgs/development/libraries/physfs/dont-set-cmake-skip-rpath-3.2.0.patch 0 → 100644 +13 −0 Original line number Diff line number Diff line diff --git a/CMakeLists.txt b/CMakeLists.txt index b3291cc..11e7ad1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,8 +32,6 @@ endif() if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang") add_compile_options(-Wall) - # Don't use -rpath. - set(CMAKE_SKIP_RPATH ON CACHE BOOL "Skip RPATH" FORCE) endif() if(CMAKE_C_COMPILER_ID STREQUAL "SunPro")