Skip to content

Commit

Permalink
Also enable ffi on linux (java-native-access#145)
Browse files Browse the repository at this point in the history
Motivation:

dd211ef changed the version of quiche we compile against and correctly used --features ffi for macOS. Unfortunally we missed to do the same for linux

Modifications:

Add --features ffi on linux as well when building

Result:

No more "undefined symbol" errors on linux
  • Loading branch information
normanmaurer authored Jan 25, 2021
1 parent dd211ef commit d1894ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@
<else>
<exec executable="cargo" failonerror="true" dir="${quicheCheckoutDir}" resolveexecutable="true">
<arg value="build" />
<arg value="--features" />
<arg value="ffi" />
<arg value="--release" />
<env key="CFLAGS" value="-O3 -fno-omit-frame-pointer -DOPENSSL_C11_ATOMIC" />
<env key="CXXFLAGS" value="-O3 -fno-omit-frame-pointer" />
Expand Down

0 comments on commit d1894ae

Please sign in to comment.