Navigation Menu

Skip to content

Commit

Permalink
Remove (not so useful) ld options not supported on Mac OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane committed May 16, 2013
1 parent e48efd3 commit 50c155a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Makefile.am
Expand Up @@ -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 \
Expand All @@ -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
Expand Down

0 comments on commit 50c155a

Please sign in to comment.