Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove (not so useful) ld options not supported on Mac OS X

  • Loading branch information...
commit 50c155a3eb6d33380bdecc52da33cf4ec89dfac7 1 parent e48efd3
@stephane authored
Showing with 1 addition and 5 deletions.
  1. +1 −5 src/Makefile.am
View
6 src/Makefile.am
@@ -10,10 +10,6 @@ AM_CPPFLAGS = \
AM_CFLAGS = ${my_CFLAGS}
-AM_LDFLAGS = \
- -Wl,--gc-sections \
- -Wl,--as-needed
-
libmodbus_la_SOURCES = \
modbus.c \
modbus.h \
@@ -27,7 +23,7 @@ libmodbus_la_SOURCES = \
modbus-tcp-private.h \
modbus-version.h
-libmodbus_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined \
+libmodbus_la_LDFLAGS = -no-undefined \
-version-info $(LIBMODBUS_LT_VERSION_INFO)
if OS_WIN32
Please sign in to comment.
Something went wrong with that request. Please try again.