Skip to content

Commit

Permalink
Make sure that LDFLAGS is honored during build.
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Oct 13, 2017
1 parent d6aa19a commit e8c46e6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
0.5.5 (2017-10-13)
=====
* Make sure that LDFLAGS is honored during build.

0.5.4 (2017-10-02)
=====
* Enable safe-string compatibility (#32).
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([ocaml-ssl],[0.5.4],[savonet-users@lists.sourceforge.net])
AC_INIT([ocaml-ssl],[0.5.5],[savonet-users@lists.sourceforge.net])

VERSION=$PACKAGE_VERSION
AC_MSG_RESULT([configuring $PACKAGE_STRING])
Expand Down
2 changes: 1 addition & 1 deletion opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build: [
["autoconf"]
["./configure" "--prefix" prefix] { os != "darwin" }
["sh" "-exc"
"./configure --prefix \"%{prefix}%\" CPPFLAGS=\"$CPPFLAGS -I/opt/local/include -I/usr/local/opt/openssl/include\""
"./configure --prefix %{prefix}% CPPFLAGS=\"-I/usr/local/opt/openssl/include\" LDFLAGS=\"-L/usr/local/opt/openssl/lib\""
] { os = "darwin" }
[make]
]
Expand Down
1 change: 1 addition & 0 deletions src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ else
endif
export CC = @CC@
export CFLAGS = @CFLAGS@ -DCAML_NAME_SPACE -Wall -std=c99
export LDFLAGS = @LDFLAGS@
export CLIBFLAGS = @LDFLAGS@
export CPPFLAGS = @CPPFLAGS@
export NO_CUSTOM = yes
Expand Down

0 comments on commit e8c46e6

Please sign in to comment.