summaryrefslogtreecommitdiff
path: root/packages/libndsfpc/examples/graphics/3D/Simple_Tri/Makefile
diff options
context:
space:
mode:
authornickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-04-19 21:10:31 +0000
committernickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-04-19 21:10:31 +0000
commit160802aa67e8d19949a8beaf5c35d611c3aa9dc9 (patch)
tree7f55db319017f74c295a45c532234645ec745bae /packages/libndsfpc/examples/graphics/3D/Simple_Tri/Makefile
parent2555f001190a52c0d3efd172f0d384f6124969a8 (diff)
parentcad728e2965c553c486b60ddc6458c9f96d481de (diff)
downloadfpc-160802aa67e8d19949a8beaf5c35d611c3aa9dc9.tar.gz
* synchronized with trunk
git-svn-id: https://svn.freepascal.org/svn/fpc/branches/z80@44873 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/libndsfpc/examples/graphics/3D/Simple_Tri/Makefile')
-rw-r--r--packages/libndsfpc/examples/graphics/3D/Simple_Tri/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/packages/libndsfpc/examples/graphics/3D/Simple_Tri/Makefile b/packages/libndsfpc/examples/graphics/3D/Simple_Tri/Makefile
index efe17eb921..4de392b7e8 100644
--- a/packages/libndsfpc/examples/graphics/3D/Simple_Tri/Makefile
+++ b/packages/libndsfpc/examples/graphics/3D/Simple_Tri/Makefile
@@ -2311,15 +2311,12 @@ ifneq ($(CROSSGCC),)
GCCLIBDIR:=$(shell dirname `$(CROSSGCC) -print-libgcc-file-name`)
endif
endif
-ifndef OTHERLIBDIR
-OTHERLIBDIR:=$(shell grep -v "^\#" /etc/ld.so.conf | awk '{ ORS=" "; print $1 }')
-endif
endif
ifdef inUnix
ifeq ($(OS_SOURCE),netbsd)
-OTHERLIBDIR+=/usr/pkg/lib
+OTHERLIBDIR:=/usr/pkg/lib
endif
-export GCCLIBDIR OTHERLIB
+export GCCLIBDIR OTHERLIBDIR
endif
BATCHEXT=.bat
LOADEREXT=.as