-
Notifications
You must be signed in to change notification settings - Fork 169
Closed
Description
Since this is a dependency for Subversion, to whom it may concern, this makes utf8proc compile on HP-UX:
--- Makefile 2019-03-30 21:34:11 +0000
+++ Makefile 2019-04-30 16:12:53 +0000
@@ -5,2 +5,2 @@
-CC?=gcc
-INSTALL=install
+CC?=${CC}
+INSTALL=${INSTALL}
@@ -12,3 +12,3 @@
-PICFLAG = -fPIC
-C99FLAG = -std=c99
-WCFLAGS = -Wall -pedantic
+PICFLAG = +z
+C99FLAG = -Ae
+WCFLAGS = +w
@@ -37,2 +37,2 @@
-prefix=/usr/local
-libdir=$(prefix)/lib
+prefix=${PREFIX}
+libdir=${LIBDIR}
@@ -82 +82 @@
- $(CC) $(LDFLAGS) -shared -o $@ -Wl,-soname -Wl,libutf8proc.so.$(MAJOR) utf8proc.o
+ $(CC) $(LDFLAGS) -b -o $@ -Wl,+h -Wl,libutf8proc.so.$(MAJOR) utf8proc.o
Notes:
CCshould point toaCCor some other compiler from HPE.- The required
installcomes from GNU coreutils and is not available on HP-UX, one can stealinstall-shfrom Subversion, for example. prefix: This is System V UNIX, there is no/usr/local(BSD), use/optor alike,libdirThere is also no../lib, but needs to be either.../lib/hpux32or.../lib/hpux64.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels