]> code.citadel.org Git - citadel.git/commitdiff
Added HP/UX linker flag for dynamic modules to work
authorMichael Hampton <io_error@uncensored.citadel.org>
Sun, 3 Sep 2000 06:36:01 +0000 (06:36 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Sun, 3 Sep 2000 06:36:01 +0000 (06:36 +0000)
citadel/configure.in

index d69fa145853f50490067fe4f1ab719001d2da268..72cbac057a865e0f7a33b9298f3624e2a666d278 100644 (file)
@@ -84,6 +84,10 @@ if test "$GCC" = yes; then
                        CFLAGS="$CFLAGS -Wall -Wno-char-subscripts"
                        PICFLAGS=-fPIC
                ;;
+               *-*-hpux*)
+                       SERVER_LDFLAGS="$SERVER_LDFLAGS -Wl,-E"
+                       PICFLAGS=-fPIC
+               ;;
                *)
                        CFLAGS="$CFLAGS -Wall -Wstrict-prototypes"
                        SERVER_LDFLAGS="$SERVER_LDFLAGS -rdynamic"