darktable: Fix compilation on macOS
Only compile X11 and other components on Linux. Use DYLD_LIBRARY_PATH onmacOS instead of LD_LIBRARY_PATH.
Michael Hoang 7 years ago 61cbf573 0ee70940