summaryrefslogtreecommitdiff
path: root/cad/xcircuit/patches/patch-aa
blob: 5045bfc27c19265e15d69f0e39d5aa5e50ce27ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-aa,v 1.3 2003/07/10 08:03:58 jtb Exp $

--- configure.in.orig
+++ configure.in
@@ -718,9 +718,9 @@
       # Not available on all versions:  check for include file.
       AC_CHECK_HEADER(dlfcn.h, test_ok=yes, test_ok=no)
       if test "$test_ok" = yes; then
-        SHLIB_CFLAGS="-fpic"
-        SHLIB_LD="ld"
-        LDDL_FLAGS="-Bshareable -x ${LIB_SPEC}"
+        SHLIB_CFLAGS="-fPIC"
+        SHLIB_LD=$CC
+        LDDL_FLAGS="-shared"
       fi
       ;;