Skip to content

Commit 0461c1c

Browse files
author
Felipe Zimmerle
committed
Fix examples compilation while using disable-shared
1 parent ac10078 commit 0461c1c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

examples/multiprocess_c/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ multi_LDFLAGS = \
1515
$(GEOIP_LDFLAGS) \
1616
-lmodsecurity \
1717
-lpthread \
18+
-lm \
19+
-lstdc++ \
1820
$(LUA_LDFLAGS) \
1921
$(SSDEEP_LDFLAGS) \
2022
$(YAJL_LDFLAGS)

examples/simple_example_using_c/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ test_LDFLAGS = \
1414
-L$(top_builddir)/src/.libs/ \
1515
$(GEOIP_LDFLAGS) \
1616
-lmodsecurity \
17+
-lm \
18+
-lstdc++ \
1719
$(LUA_LDFLAGS) \
1820
$(SSDEEP_LDFLAGS) \
1921
$(YAJL_LDFLAGS)

0 commit comments

Comments
 (0)