Skip to content

Commit

Permalink
Don't override linker when building for windows sytems.
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Mar 16, 2018
1 parent 173074f commit 6ab9771
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.defs.in
Expand Up @@ -34,7 +34,7 @@ EXEEXT = @EXEEXT@
CAMLP4O = @CAMLP4O@

liquidsoap_ocamlcflags= @liquidsoap_ocamlcflags@
liquidsoap_ocamllflags= @liquidsoap_ocamllflags@ -cc "$(CC)" -cclib "$(LDFLAGS)"
liquidsoap_ocamllflags= @liquidsoap_ocamllflags@ -cclib "$(LDFLAGS)"
_DEP_OPTS= @_DEP_OPTS@

# Make the building quiet
Expand Down
5 changes: 5 additions & 0 deletions configure.ac
Expand Up @@ -182,6 +182,11 @@ fi

liquidsoap_ocamlcflags="$OCAMLFLAGS -ccopt \"\$(CFLAGS)\""
liquidsoap_ocamllflags="-linkpkg -package unix -package threads -package str -package bigarray"

if test "$OS_TYPE" \!= "Win32" ; then
liquidsoap_ocamllflags="$liquidsoap_ocamllflags -cc \"\$(CC)\""
fi

requires="unix threads str"
if test "$enable_debugging" \!= "no" ; then
CFLAGS="$CFLAGS -g"
Expand Down

0 comments on commit 6ab9771

Please sign in to comment.