summaryrefslogtreecommitdiff
path: root/samples/source
diff options
context:
space:
mode:
authorFrankie Dintino <fdintino@theatlantic.com>2016-06-02 14:02:33 -0400
committerHubert Figuière <hub@figuiere.net>2016-06-05 09:21:36 -0400
commit71acd8f795d080d7f1ab58a43001b8c0079feb4b (patch)
tree401bc12c7da35ec1c23f0d98ed5243c2249a2041 /samples/source
parentb6ff77dd74a12432f434e2bcf5bc8721b403151a (diff)
Fix build issues on OS X
Diffstat (limited to 'samples/source')
-rw-r--r--samples/source/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/samples/source/Makefile.am b/samples/source/Makefile.am
index 325feea..1430c3a 100644
--- a/samples/source/Makefile.am
+++ b/samples/source/Makefile.am
@@ -48,10 +48,14 @@ AM_CXXFLAGS = -fexceptions -funsigned-char -fPIC \
AM_CPPFLAGS = -D@EXEMPI_PLATFORM_DEF@=1 -D_FILE_OFFSET_BITS=64
XMPLIBS = $(top_builddir)/XMPCore/source/libXMPCore.la \
$(top_builddir)/XMPFiles/source/libXMPFiles.la \
- $(top_builddir)/source/libxmpcommon.la -lexpat -lz -lrt \
+ $(top_builddir)/source/libxmpcommon.la -lexpat -lz \
$(top_builddir)/third-party/zuid/interfaces/libmd5.la \
-ldl
+if UNIX_ENV
+XMPLIBS += -lrt
+endif
+
INCLUDES = -I$(top_srcdir)/public/include -I$(top_srcdir)
noinst_LTLIBRARIES = libsamplescommon.la