diff --git a/src/native/build.xml b/src/native/build.xml
index 659d20874fd459baf095881f22c6651d60676af8..cadbf79cff9137ca1ed8e54dfac1623d95f28cf8 100644
--- a/src/native/build.xml
+++ b/src/native/build.xml
@@ -693,7 +693,7 @@
             <compilerarg value="-D_JNI_IMPLEMENTATION_" />
 
             <linkerarg value="-Wl,-z,relro" if="is.running.debian"/>
-            <linkerarg value="-L${opus}/.libs" />
+            <linkerarg value="-L${opus}/.libs" unless="is.running.debian"/>
 
             <!-- Linux specific flags -->
             <compilerarg value="-m32" if="cross_32" unless="is.running.macos" />