Merge pull request #4617 from kevans91/spurious

Upstream the rest of our local FreeBSD patching
This commit is contained in:
akallabeth
2018-05-03 11:55:03 +02:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -945,7 +945,9 @@ if (APPLE)
set(CMAKE_INSTALL_RPATH "@loader_path/../Frameworks")
else (APPLE)
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
set(CMAKE_INSTALL_RPATH "\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}:\$ORIGIN/..")
if (NOT FREEBSD)
set(CMAKE_INSTALL_RPATH "\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}:\$ORIGIN/..")
endif()
endif(APPLE)
if (BUILD_SHARED_LIBS)

View File

@@ -88,7 +88,7 @@
# endif
#endif
#if defined(__NetBSD__)
#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
# define TRIO_PLATFORM_UNIX
#endif