aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/libv3d/files/patch-platforms.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/libv3d/files/patch-platforms.ini b/graphics/libv3d/files/patch-platforms.ini
index a007ada69494..5b9bc2d62069 100644
--- a/graphics/libv3d/files/patch-platforms.ini
+++ b/graphics/libv3d/files/patch-platforms.ini
@@ -16,7 +16,7 @@
MustExist = Yes
- FeatureLIBS = -lGL -lGLU
- FeatureLIB_DIR = -L/usr/X11R6/lib/
-+ FeatureCFLAGS = -I%%X11BASE%%/include %%PTHREAD_CFLAGS%%
++ FeatureCFLAGS = -I%%X11BASE%%/include %%PTHREAD_CFLAGS%% -fPIC
+ FeatureLIBS = -lGL -lGLU %%PTHREAD_LIBS%%
+ FeatureLIB_DIR = -L%%X11BASE%%/lib/
FeatureDepend = gl-lib