Skip to content

Commit

Permalink
Merge pull request #41 from bsiegert/master
Browse files Browse the repository at this point in the history
Build fixes for Mac OS X
  • Loading branch information
alexandervdm committed Sep 7, 2018
2 parents 2f00c2e + 1553b62 commit e596f44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ if test "$spellcheck" = yes; then
fi

# Add explicit linking flags
GUI_LIBS="$GUI_LIBS -pthread -lm -lz -lrt"
GUI_LIBS="$GUI_LIBS -pthread -lm -lz"
AC_CHECK_LIB(rt, clock_gettime, [
GUI_LIBS="$GUI_LIBS -lrt"
])

# Checks for header files.
AC_CHECK_HEADERS([libintl.h locale.h netdb.h stdlib.h string.h sys/socket.h sys/time.h unistd.h fcntl.h])
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = subdir-objects

bin_PROGRAMS = gummi
AM_CFLAGS = $(GUI_CFLAGS) \
-export-dynamic -Wall -O2 \
-Wl,-export-dynamic -Wall -O2 \
-DGUMMI_LIBS=\"$(libdir)/$(PACKAGE)\" \
-DGUMMI_DATA=\"$(datadir)/$(PACKAGE)\" \
-DGUMMI_LOCALES=\"$(datadir)/locale\"
Expand Down

0 comments on commit e596f44

Please sign in to comment.