Comments (2)
The patch being:
$ cat 0001-link-order-matters.patch
From 1cce2cfd176414770f3c2d6cf6920562c77c508e Mon Sep 17 00:00:00 2001
From: Geert Ijewski <[email protected]>
Date: Tue, 21 Apr 2020 19:04:25 +0200
Subject: [PATCH] link order matters
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 0964497..72f2f50 100644
--- a/Makefile
+++ b/Makefile
@@ -14,12 +14,12 @@ libschrift.a: schrift.o
schrift.o: schrift.h
sftdemo: sftdemo.o libschrift.a
- $(LD) $(LDFLAGS) $< -o $@ -L$(X11LIB) -L. -lX11 -lXrender -lschrift
+ $(LD) $(LDFLAGS) $< -o $@ -L$(X11LIB) -L. -lX11 -lXrender -lschrift -lm
sftdemo.o: sftdemo.c schrift.h arg.h
$(CC) -c $(CFLAGS) $< -o $@ $(CPPFLAGS) -I$(X11INC)
stress: stress.o libschrift.a
- $(LD) $(LDFLAGS) $< -o $@ -L. -lschrift
+ $(LD) $(LDFLAGS) $< -o $@ -L. -lschrift -lm
stress.o: stress.c schrift.h arg.h
$(CC) -c $(CFLAGS) $< -o $@ $(CPPFLAGS)
--
2.20.1
from libschrift.
Interesting. I'm basically using the same toolchain but I never hit this problem.
I don't have time to do this right now, but I'll apply the patch to master ASAP.
Thank you very much!
from libschrift.
Related Issues (20)
- Darwin compilation HOT 8
- Tutorial for OpenGL? HOT 4
- support anti-aliasing? HOT 7
- Add travis CI or any other CI HOT 1
- How Can I Compile For Windows? [Question] HOT 2
- Does libschrift support colored emojis? HOT 1
- Stack overflow in render_outline due to 256KB stack allocation HOT 3
- demos depend on graphics environment HOT 1
- draw_line function algorithm HOT 2
- Review usage of intenal csearch() function
- Whitespaces are not being rendered HOT 2
- typo in docs
- guard unix-y implementation details
- Empty rendering output under windows HOT 4
- Function that returns a list of all glyphs
- Sample code that just outputs the line points HOT 1
- Incorrect code in sft_kerning
- Slow character lookup
- Is yOffset correct? HOT 3
- Can't open X display HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libschrift.