summaryrefslogtreecommitdiff
path: root/packaging/nacl/ports/sdl-net/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/nacl/ports/sdl-net/build.sh')
-rw-r--r--packaging/nacl/ports/sdl-net/build.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/packaging/nacl/ports/sdl-net/build.sh b/packaging/nacl/ports/sdl-net/build.sh
new file mode 100644
index 000000000..781e4fcfc
--- /dev/null
+++ b/packaging/nacl/ports/sdl-net/build.sh
@@ -0,0 +1,9 @@
+# Copyright (c) 2014 The Native Client Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# sdl2-config --libs includes -lppapi which cannot be linked
+# with shared libraries, so for now we disable the shared build.
+# In the future we could instead filter out this flag or remove
+# it and force SDL2 programs to add it themselves.
+EXTRA_CONFIGURE_ARGS=--disable-shared