diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-08 13:36:10 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-08 13:36:10 +0800 |
commit | 59ca8b37f9e7a32db67abf719be0977cbbae0c86 (patch) | |
tree | 943520c92d8e6ed7443763a1cf8862aac5bc8ff6 | |
parent | dbea417073f08cbc884225a392784abf613d320a (diff) |
Builds on FreeBSD
-rw-r--r-- | Makefile.am | 3 | ||||
-rwxr-xr-x | amd64-portbld-freebsd13.0 | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index ae14fb4..7964b60 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,8 @@ lib_LTLIBRARIES = libproductviewer.la libproductviewer_la_SOURCES = viewer.c converter.c +libproductviewer_la_CFLAGS = -I${prefix}/include if APPLE -libproductviewer_la_CFLAGS = -I${prefix}/System/Library/Frameworks/OpenGLES.framework/Headers +libproductviewer_la_CFLAGS += -I${prefix}/System/Library/Frameworks/OpenGLES.framework/Headers endif if WASM libproductviewer_la_LDFLAGS = -static diff --git a/amd64-portbld-freebsd13.0 b/amd64-portbld-freebsd13.0 new file mode 100755 index 0000000..7661c7a --- /dev/null +++ b/amd64-portbld-freebsd13.0 @@ -0,0 +1,5 @@ +#!/bin/sh +export PREFIX=/usr/local +export CPPFLAGS="$CPPFLAGS -DDEBUG" +export CFLAGS="$CFLAGS -g" +./configure --prefix=$PREFIX --disable-static |